when I open already existing M file in MATLAB I get error using open(line146) failed to open MATLAB editor

13 Ansichten (letzte 30 Tage)
  3 Kommentare
Assen Beshr
Assen Beshr am 6 Nov. 2021
thanks, R2019b is used now. I was opend the file from current folder.
when i was use edit followed file name i get such error
per isakson
per isakson am 6 Nov. 2021
See settings - Access the SettingsGroup root object
Could it be that some SettingsGroup property (used by edit() ) by mistake was assigned an inappropriate value?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steven Lord
Steven Lord am 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 Kommentare
Steven Lord
Steven Lord am 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.
Assen Beshr
Assen Beshr am 9 Nov. 2021
ok thanks,I will try by removing PSAT toolbox for next. Now I alrady change R2019b to R2021a the erorr is removed. the error may come again when we add PSAT toolbox I will try again

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by