I have installed PSAT in MATLAB. However, whenever I open the past, and try to Open Data File, I receive the following errors:
{
Error using settings
Too many output arguments.
Error in matlab.ui.internal.dialog.DialogUtils.checkDecaf (line 55)
sett = settings;
Error in matlab.ui.internal.utils.checkJVMError (line 11)
isdecaf = matlab.ui.internal.dialog.DialogUtils.checkDecaf;
Error in warnfiguredialog (line 8)
matlab.ui.internal.utils.checkJVMError;
Error in uiwait (line 40)
warnfiguredialog('uiwait');
Error in fm_set (line 463)
uiwait(Fig.dir);
Error while evaluating UIControl Callback.
}
I appreciate any help!

댓글 수: 4

Image Analyst
Image Analyst 2021년 10월 13일
What is PSAT?
Tamam Baashn
Tamam Baashn 2021년 10월 13일
The Power System Analysis Toolbox
Image Analyst
Image Analyst 2021년 10월 14일
Is that a third party toolbox? It doesn't seem to be one of the Mathworks products:
Tamam Baashn
Tamam Baashn 2021년 10월 14일
Yes. The sourse link is below:
Do you think the errors are due to the product or that I did something wrong?

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

 채택된 답변

Steven Lord
Steven Lord 2021년 10월 14일

0 개 추천

I suspect that toolbox has a settings.m file that is in conflict with the settings function included in MATLAB. You can check this using the which function. What does the command below display?
which -all settings
/MATLAB/toolbox/matlab/configtools/settings.m
If my suspicion is correct you should ask the authors of that toolbox to rename that function.

댓글 수: 3

Tamam Baashn
Tamam Baashn 2021년 10월 14일
This what I recieve:
{ which -all settings
C:\Users\Tamam Baashn\Downloads\Compressed\psat-2.1.11-mat\psat\settings.m
C:\Program Files\MATLAB\R2021b\toolbox\matlab\configtools\settings.m % Shadowed }
Do you think there is another solution other than asking the author since this is a well-known source for the psat?
Tamam Baashn
Tamam Baashn 2021년 10월 14일
I have changed the psat file name into (psat_settings.m) and modified the call to that file in line 231 from psat.m (version 2.1.11)
{try
psat_settings()
catch}
Now, I do not recieve the previous errors anymore. However, whenever, I try to open data file, I cannot find any file in psat format, although there is files in this format: (ThreeArea_mdl.m) for example.
Any idea what happened there?
Reza Sanatkhani
Reza Sanatkhani 2022년 5월 11일
thanks a lot.
very very great and good

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

추가 답변 (0개)

카테고리

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

태그

질문:

2021년 10월 13일

댓글:

2022년 5월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by