Why is command window printing out all the code?

조회 수: 8 (최근 30일)
K Yang
K Yang 2021년 5월 22일
댓글: Star Strider 2021년 5월 22일
This is the first time this has happened... Is there any way to disable this?

채택된 답변

Star Strider
Star Strider 2021년 5월 22일
The echo function may have become activated somehow.
See if:
echo off
solves it.
.
  댓글 수: 2
K Yang
K Yang 2021년 5월 22일
Yes it does! Thank you very much!
Star Strider
Star Strider 2021년 5월 22일
As always, my pleasure!

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

추가 답변 (1개)

per isakson
per isakson 2021년 5월 22일
편집: per isakson 2021년 5월 22일
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
>>

카테고리

Help CenterFile Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by