Profiler will not open

19 Ansichten (letzte 30 Tage)
Hana Krakovská
Hana Krakovská am 12 Jul. 2022
Kommentiert: Hana Krakovská am 28 Jul. 2022
Until recently I did not have any issues with opening and running the Profiler on matlabR21b, however, since last week I have not been able to open it, there is always a window that opens and it looks like Profiler is loading and starting, but it never loads fully and I can not click on it and use it. I tried also donwloading and isntalling the version R22a and the problem persists. I also restarted my computer and matlab numerous times.
  2 Kommentare
Jan
Jan am 12 Jul. 2022
Bearbeitet: Jan am 12 Jul. 2022
"there is always a window that opens and it looks like Profiler is loading and starting, but it never loads fully" - please explain with more details, how you start the profiler and what you observe.
Hana Krakovská
Hana Krakovská am 12 Jul. 2022
I click on the profiler and a new blank window on the taskbar with the name Profiler opens. But I can not click on it, nothing is shown and also when I try to close matlab it complains about running processes so it seems like it is trying to open it somehow but not succeeding.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 12 Jul. 2022
Maybe a user-defined function shadows a function used to start the profiler. Try https://www.mathworks.com/matlabcentral/fileexchange/27861-uniquefuncnames to identify shadowed toolbox functions. Do not insert folder with user-defined functions on top of the path but at the bottom.
Try restoredefaultpath (which should remove all user folders from the path - create a backup of pathdef.m before).
Removing the profile directory helps some times, but you tried to install a new Matlab version and this should create a new user folder and preferences files also.
  4 Kommentare
Jan
Jan am 28 Jul. 2022
@Hana Krakovská: The important output of the tool to check collisions are the functions, which exist as user-defined functions and in Matlab's toolbox also. This would most likely not be the profiler.m function itself, but a subfunction called by the profiler.
Are you working with admin privileges? Then it is possible to destroy a function of Matlab's toolbox functions by accident. If this was the case, the secure method to solve this is a re-installation of Matlab and avoiding to work with admin privileges.
What happens if you press Ctrl-C during the profiler is in idle mode?
Do you have folders in your path, which are stored on a network or cloud drive?
How long did you wait?
Hana Krakovská
Hana Krakovská am 28 Jul. 2022
Dear Jan, thank you for your help. In the meantime I had some windows updates after which it still did not work, but now I reinstalled everything once again and it magically works. I do not still understand what was the issue. Matlab asked me to install some additional sub-program, something to do with C and C++ compiler, so I do not know if that could have been the original problem.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by