필터 지우기
필터 지우기

About the Number property of figure function

조회 수: 18 (최근 30일)
wenlong
wenlong 2016년 7월 21일
댓글: wenlong 2016년 7월 28일
How to set the Number property of figure function of 2015B? Each time I set like this: figure('Position', [9 39 900 300], 'Number', 3, 'Name', 'Velocity'); It was wrong but I saw the example just did like this! Thanks1

채택된 답변

Adam
Adam 2016년 7월 21일
'Number' is a read-only property.
You can call:
hFig = figure( 3 ); set( hFig, 'Position', [9 39 900 300], 'Name', 'Velocity');
though beware that the instruction:
figure(3)
will either create a new figure or, if a figure 3 already exists it will simply bring this existing figure into focus and then act upon that.
  댓글 수: 1
wenlong
wenlong 2016년 7월 28일
Thanks, Adam, I got it! I thought the original source codes confused the Number and NumberTitle

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by