Why is command window printing out all the code?

7 vues (au cours des 30 derniers jours)
K Yang
K Yang le 22 Mai 2021
Commenté : Star Strider le 22 Mai 2021
This is the first time this has happened... Is there any way to disable this?

Réponse acceptée

Star Strider
Star Strider le 22 Mai 2021
The echo function may have become activated somehow.
See if:
echo off
solves it.
.
  2 commentaires
K Yang
K Yang le 22 Mai 2021
Yes it does! Thank you very much!
Star Strider
Star Strider le 22 Mai 2021
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (1)

per isakson
per isakson le 22 Mai 2021
Modifié(e) : per isakson le 22 Mai 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
>>

Catégories

En savoir plus sur Audio Processing Algorithm Design dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by