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

댓글 수: 3

Which release are you using?
How are you trying to open the file? Do you call edit followed by the name of the file? Do you use the Open button on the Editor tab of the Toolstrip? Do you double-click the file in Windows Explorer?
What happens if you try one of the other methods I mentioned (if you tried calling edit instead try the Open button and vice versa)?
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
See settings - Access the SettingsGroup root object
Could it be that some SettingsGroup property (used by edit() ) by mistake was assigned an inappropriate value?

댓글을 달려면 로그인하십시오.

답변 (1개)

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

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.
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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

질문:

2021년 11월 5일

댓글:

2021년 11월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by