error when I try to open a file to edit

This is error that pops up when I try to open a file to edit:
>>
Error using indexing
Input argument matlab is not a valid property name.
Error in matlab.ui.internal.NotSupportedInWebAppServer (line 9)
if (s.matlab.ui.figure.ShowInWebApps.ActiveValue || ...
Error in errordlg (line 30)
matlab.ui.internal.NotSupportedInWebAppServer('errordlg');
Error in uiopen (line 188)
errordlg(err);

1 Comment

As an experiment try

restoredefaultpath; rehash toolboxcache

and try again.

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 9 Sep 2022
Moved: Walter Roberson on 10 Sep 2022

As an experiment try

restoredefaultpath; rehash toolboxcache

and try again.

Do you have a function you've created named settings.m? Does the command below show just one item (in a subdirectory under toolbox/matlab) or multiple items (including some of your own functions outside toolbox/matlab)?
which -all settings
/MATLAB/toolbox/matlab/configtools/settings.m
If this shows other settings.m files outside toolbox/matlab, try renaming them.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 9 Sep 2022

Moved:

on 10 Sep 2022

Community Treasure Hunt

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

Start Hunting!