Adding full figure edit options to an executable?
古いコメントを表示
I have a matlab executable which generates a plot in a figure, but the figure only has bare minimum options available (legend, zoom, pan, etc) how do I turn on the full suite of options? I only have file in the tool bar as an option, when I really need the functions under insert, view, edit, tools, desktop, etc.
採用された回答
その他の回答 (1 件)
Joseph Cheng
2015 年 4 月 22 日
I think something like this would work where lets just say hfig is your figure for plot.
hfig=figure; %or however you get your figure window and structure.
set(hfig,'menubar,'none') %to turn it off
set(hfig,'menubar,'figure') %to turn on the default.
4 件のコメント
Joseph Cheng
2015 年 4 月 22 日
Just found this http://www.mathworks.com/help/matlab/creating_guis/creating-menus-for-a-programmatic-gui.html looks to explain more options
matlabuser12
2015 年 4 月 23 日
編集済み: matlabuser12
2015 年 4 月 23 日
Joseph Cheng
2015 年 4 月 23 日
Looks like you're absolutely correct that there isn't an official way to do this as explained here However that doesn't stop us from trying to get you what you need. What specific items are you looking to use in each menu? You can create your own menus through the use of uimenu() to add in your own callbacks.
matlabuser12
2015 年 4 月 24 日
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!