when I open already existing M file in MATLAB I get error using open(line146) failed to open MATLAB editor
10 views (last 30 days)
Show older comments
3 Comments
per isakson
on 6 Nov 2021
Could it be that some SettingsGroup property (used by edit() ) by mistake was assigned an inappropriate value?
Answers (1)
Steven Lord
on 6 Nov 2021
Let's make sure you're using the settings function included with MATLAB as MATLAB expects. What does this command show?
which -all settings
3 Comments
Steven Lord
on 7 Nov 2021
The settings.m in toolbox/psat does not behave like the settings function included in MATLAB does. Remove toolbox/psat from your MATLAB path and ask the authors of that toolbox to update the toolbox so it does not include this function that conflicts with the settings function in toolbox\matlab\configtools.
See Also
Categories
Find more on System Commands 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!