Profiler will not open
14 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Jan
on 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 Comments
Jan
on 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?
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!