Profiler will not open

34 visualizaciones (últimos 30 días)
Hana Krakovská
Hana Krakovská el 12 de Jul. de 2022
Comentada: Hana Krakovská el 28 de Jul. de 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 comentarios
Jan
Jan el 12 de Jul. de 2022
Editada: Jan el 12 de Jul. de 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á el 12 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 12 de Jul. de 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 comentarios
Jan
Jan el 28 de Jul. de 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á el 28 de Jul. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by