Error when open m file

11 views (last 30 days)
Hany Ferdinando
Hany Ferdinando on 21 Jan 2015
Answered: Naga on 23 Oct 2024 at 9:58
Hi,
I run Matlab 2013b, 64bit, in Windows 7. When I open m file, sometimes it was no problem, but sometimes I got error message shown in Error Dialog.
Error using open
Too many input arguments.
How to solve this problem?
Thank you
regards Hany

Accepted Answer

Naga
Naga on 23 Oct 2024 at 9:58
Hello Hany,
This may be due to a function shadowing issue for a function used in the underlying implementations of these other functions. Try the following debugging steps in order:
1) Try to reset your MATLAB path:Plain Text
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
This step may resolve or reveal a shadowing issue. If you see a warning about name conflicts, please try to delete or rename the local function that has a name conflict.
2) Try to regenerate your MATLAB preferences.
3) As a last resort, try a clean reinstallation of MATLAB.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!