set default properties ERROR

1 回表示 (過去 30 日間)
Miro
Miro 2012 年 6 月 15 日
Hi, i face the following problems to which i could not find any solution yet. However i think, they are connected:
1. the command
set(0,'DefaultFigureWindowStyle','docked');
produces the Error
Subscript indices must either be real positive integers or logicals.
also if i want to set the colorbar property with
c=colorbar('peer',gca);
set(get(c,'ylabel'),'String', 'Beta relative');
the same Error occurs. The strange thing is, that this happens randomly, so sometimes i can set the properties and then all of a sudden i get the Error. Any suggestions?
Thanks for the help

採用された回答

Kevin Holst
Kevin Holst 2012 年 6 月 15 日
It looks as though you may have a variable named 'set' in your workspace. Is that the case?
  1 件のコメント
Miro
Miro 2012 年 6 月 18 日
oh yes... thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by