Matlab is not working
3 次查看(过去 30 天)
显示 更早的评论
Every time i open Matlab i get multilple errors in the command window.I tried several time to uninstall and install it again but nothing.And yestarday it was working perfectly fine.I didn't make any updates on the pc.
Warning: Function saveobj has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function set has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name conflict.
Warning: Function sign has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function sin has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name conflict.
Warning: Function sinh has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function size has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function sort has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function sparse has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function sqrt has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function subsasgn has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function subsref has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name
conflict.
Warning: Function sum has the same name as a MATLAB built-in. We suggest you rename the function to avoid a potential name conflict.
Unrecognized method, property, or field 'dim' for class 'message.internal.Subscription'.
1 个评论
回答(1 个)
Pavan Sahith
2024-2-6
Hello Laura,
It seems like you have shadowed some built-in MATLAB functions with your own functions or scripts. This might be causing MATLAB to issue warnings about potential conflicts with the built-in functions.
Here are few suggestions to help resolve the issue:
Rename your custom scripts or functions to something unique names that doesn't conflict with the built-in function.Save the changes and restart MATLAB.
As Matt mentioned in the comment section, consider seeing what these commands ''which -all saveobj ","which -all set",etc return.
There is also a chance of MATLAB path being corrupt or else contains reference to a different MATLAB installation as well.
- Start up the new MATLAB, and when you get a prompt, give the command "pathtool".
- When it brings up the box listing the paths, go down to the lower right and click on 'Default'. Then click to Save the change. You can then cross-check by exiting MATLAB and starting it up again.
If the issue still persists, you can contact the MathWorks Technical Support.
Hope it helps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!