Error message showing when starting MATLAB 2020b

Error using settings
Too many output arguments.
Error in matlab.internal.editor.PrewarmingSuppressor.isPrewarmingSuppressed
Error in matlab.internal.editor.EvaluationOutputsService.prewarmExecution
Error using settings
Too many output arguments.
Error in matlab.internal.codingui.warmupProgrammingAids
I just copy psat tool box in toolbox section of matlab after than it is showing message, whenever I open the matlab

2 comentarios

Moamen
Moamen el 3 de Mzo. de 2023
Editada: Moamen el 4 de Mzo. de 2023
Please, help me. the same errore appeared to me, what should i do?
See my Answer; I show exactly which file you need to delete (or rename)

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 8 de Oct. de 2020

0 votos

psat has a settings.m file that is interfering with the use of MATLAB.
If I recall correctly you can rename the psat file and it will run correctly. psat uses it to store preferences but will run without it.

5 comentarios

Utsavi Patil
Utsavi Patil el 8 de Oct. de 2020
Utsavi Patil
Utsavi Patil el 8 de Oct. de 2020
I am getting this type of error messages when I try to open any matlab file. But I didn't understand your answer.
Give the command
which settings
You will get a response such as
C:\Program Files\MATLAB\R2020b\toolbox\psat\settings.m
showing a file under the psat installation directory.
Delete that file.
That will get you past that error.
You will probably not be able to run PSAT anyhow; you will probably get errors about
Although deleting the settings command from PSAT solves this issue, I would rather suggest renaming it (e.g. to 'psat_settings.m'), and modifying the call to that file in line 231 from psat.m (version 2.1.11):
try
psat_settings()
catch
At least this solved the problem for me.
Moamen
Moamen el 4 de Mzo. de 2023
Editada: Moamen el 4 de Mzo. de 2023
@Walter Roberson, Ok thanks very much Mr/ Roberson
I tried to delete the setting file, then rename it, but nothing happened.
then i get into internal error lines and put % before mentioned error lines but also nothing happened and error still existed, so finally i had to uninstall matlab 2021b and install it again.

Iniciar sesión para comentar.

Amitosh Banerjee
Amitosh Banerjee el 19 de Nov. de 2020

0 votos

If you are using psat, you can get rid of this problem by setting the path back to default. MATLAB>Home> Set Path> a dialogue box opens> default. Even if the command windows show error, using normal matlab will not be a problem and if you want to use psat again, you need to change the path through set path back to the psat folder.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Oct. de 2020

Comentada:

el 19 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by