Problem with matlab; error opening functions
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In the last days, there is a big problem with Matlab in my computer. Almost anything I try to execute there is an error message.
Even if I try to open matlab functions, there is the following message:
Error using msgbox (line 80)
Bad value for text property: 'Interpreter'
Error in errordlg (line 47)
handle = msgbox(ErrorStringCell,DlgName,'error',Replace);
Error in uiopen (line 194)
errordlg(err);
Could you please hepl me? I installed some toolboxes, and maybe there was the problem, I am using Matlab 2024a
Thanks in advance.
4 Commenti
Steven Lord
il 8 Lug 2024
Which toolboxes did you install between the last time the code worked and the first time it threw this error?
Which release of MATLAB are you using? I see the line of code you posted in the errordlg.m function in release R2023b, but it is not on line 47.
What does this code show?
which -all errordlg
which -all msgbox
My suspicion is that one of those commands will show a non-MathWorks version of one of those functions.
Risposta accettata
Image Analyst
il 8 Lug 2024
Simply reinstall the complete version. Do NOT "paste the toolbox folders, not install." Evidently that doesn't work, as you found out. I don't even know what folders you copied and pasted, but you don't have to do that -- the installation takes care of everything for you.
Don't change the MATLAB path for any of the built-in installed folders. And don't modify it to add folders from any prior/old version you may still have on your system. Only add folders for your own custom folders with the Set Path button on the tool ribbon. And make sure none of your custom m-files have the same names as any of the built-in functions, like make sure you don't have your own msgbox.m file for example.
If you still have trouble after that, see the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!