フィルターのクリア

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 Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by