필터 지우기
필터 지우기

While using the Live Editor, why does no output appear in the command window when I click the Run button?

조회 수: 32 (최근 30일)
I have entered commands in the live editor but see no output in the command window when I select the Run button?
syms t n
T= 2*pi; % T= Period
w0=1; % Fundamental anguler freg
n=1:10; % n=1 fundamental, n>1 harmonics
v(t) =100+100*cos(t);
a0= (1/T)*int(v(t),t,0,T)
an=(2/T)*int(v(t)*cos(n*w0*t),t,0,T)
bn=(2/T)*int(v(t)*sin(n*w0*t),t,0,T)

답변 (1개)

Areej Varamban Kallan
Areej Varamban Kallan 2019년 1월 21일
Hi Gary,
This is an expected behaviour. In live scripts, MATLAB displays output to the right of the code. Each output is displayed with the line that creates it. The live editor captures all the outputs within the file containing the code.
  댓글 수: 2
savneet singh
savneet singh 2021년 2월 4일
that did not answer his answer as to why he can't see the output on the right when he runs the code
Walter Roberson
Walter Roberson 2021년 2월 4일
I seem to recall that particular release had a bug in Live Script... but I do not recall the details at all (it did not affect me.)

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

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by