Error in copying figure - Variables - Error using Builtin Path - Could not be absulutized
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am unable to copy any figure from the figure window, and run other functions from the menu tab. I keep getting this error message. I am using R2021b version of MATLAB that was recently installed. Attached is the image of the error. The whited section is just the name of the script but shows as *.p on the error. Any suggetions how to debug this error? I am not sure if there is anything wrong with my code producing the figure. Thank you! ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/849450/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/849450/image.png)
0 commentaires
Réponse acceptée
Meg Noah
le 1 Jan 2022
type
>> which pathdef
It could be that the pathdef.m file is missing. If it is missing, type
>> restoredefaultpath
>> matlabrc
navigate to your local folder, should be something like C:\Program Files\MATLAB\<version>\toolbox\local
then enter the following to create a new one:
>>savepath pathdef.m
Plus de réponses (1)
Walter Roberson
le 1 Jan 2022
I suspect filesystem corruption. I suggest DISM and SFC https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
0 commentaires
Voir également
Catégories
En savoir plus sur Search Path dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!