Why do I receive errors related to "getFileIn​foForTools​trip" or "getSuppor​tPackageUp​dates" when opening MATLAB?

76 visualizaciones (últimos 30 días)
After opening MATLAB, I get the following warnings and errors in MATLAB:
Warning: Name is nonexistent or not a directory:C:\Program Files\MATLAB\R2019b\toolbox\matlab\testframework\ui\matlabWarning: Name is nonexistent or not a directory:C:\Program Files\MATLAB\R2019b\toolbox\coder\simulinkcoder_app\backendWarning: Adding folders named 'resources' to the path is not supported:C:\Program Files\MATLAB\R2019b\toolbox\simulink\simulink\resources....Unrecognized function or variable'matlab.unittest.internal.ui.toolstrip.getFileInfoForToolstrip'.Unrecognized function or variable'matlab.internal.addons.updates.getSupportPackageUpdates'.
As a result of this, I am unable to use MATLAB. Many commands are simply not working. How can I resolve this so that I can use MATLAB?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 24 de Mayo de 2022
Editada: MathWorks Support Team el 24 de Mayo de 2022
The following workarounds should help resolve the issue:
1) Try recreating the path definition file for your installation. Open MATLAB and then enter the following three commands, one after the other, into the command window:
>> rehash toolboxcache>> restoredefaultpath>> savepath
Then, restart MATLAB.
2) Re-activate MATLAB by executing 'activate_matlab.exe' (on Windows) or 'activate_matlab.sh' (on Linux). More information about the location of these files and activating MATLAB is available at:
3) There could be an issue with your pathdef.m file. Follow the troubleshooting steps outlined in the following MATLAB Answers post:

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by