Matlab is not working
3 views (last 30 days)
Show older comments
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 Comment
Answers (1)
Pavan Sahith
on 6 Feb 2024
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 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!