필터 지우기
필터 지우기

Print the value number shown in the workspace ?

조회 수: 2 (최근 30일)
Susan Arnold
Susan Arnold 2016년 2월 25일
댓글: Susan Arnold 2016년 2월 25일
How can I print the value number shown in the workspace of Matlab as shown in the attached picture (more specifically the number in the red box) by using the command fprint ?

채택된 답변

Stephen23
Stephen23 2016년 2월 25일
편집: Stephen23 2016년 2월 25일
Just use size:
size(PHI,1)
MATLAB does not have any command fprint, perhaps you meant fprintf:
fprintf('%d\n',size(PHI,1))
  댓글 수: 1
Susan Arnold
Susan Arnold 2016년 2월 25일
You are right Stephen! It works ! Thank you very much :)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by