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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Steven Lord
Steven Lord el 14 de Oct. de 2021

0 votos

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 comentarios

Tamam Baashn
Tamam Baashn el 14 de Oct. de 2021
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 el 14 de Oct. de 2021
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 el 11 de Mayo de 2022
thanks a lot.
very very great and good

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 13 de Oct. de 2021

Comentada:

el 11 de Mayo de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by