Why is command window printing out all the code?

 Respuesta aceptada

Star Strider
Star Strider el 22 de Mayo de 2021
The echo function may have become activated somehow.
See if:
echo off
solves it.
.

2 comentarios

K Yang
K Yang el 22 de Mayo de 2021
Yes it does! Thank you very much!
Star Strider
Star Strider el 22 de Mayo de 2021
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (1)

per isakson
per isakson el 22 de Mayo de 2021
Editada: per isakson el 22 de Mayo de 2021
There is a function called echo(), which I've never used. Have you run
echo on
by mistake?
I reproduced the behavior you see
>> echo on
>> Untitled
%%
A = 1;
B = 2;
C = 3;
D = 4;
>>
>> echo off
>> Untitled
>>

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Mayo de 2021

Comentada:

el 22 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by