How to open a simulink model in maximized mode through matlab command line?
9 ビュー (過去 30 日間)
古いコメントを表示
sri prakash muniyandi
2016 年 2 月 25 日
コメント済み: sri prakash muniyandi
2016 年 2 月 25 日
Hi i used a command open_system('sys_nmae') to open a simulink modle. but this command open a simulink model in small sized window not as my monitor size. i want open a model in maximized mode through matlab command line as i attached in the image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155836/image.png)
0 件のコメント
採用された回答
Andreas Goser
2016 年 2 月 25 日
編集済み: Andreas Goser
2016 年 2 月 25 日
In my experience, a model gets opened just in a way it was save last. Does it not preserve it in your case? What's your release and OS?
There might be better ways, but at least you can influence the location by using something like
set_param(bdroot,'Location',[x1 y1 x2 y2]);
and make this closed to waht you expect as maximized.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!