Adding full figure edit options to an executable?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
matlabuser12
am 22 Apr. 2015
Bearbeitet: matlabuser12
am 24 Apr. 2015
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.
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 24 Apr. 2015
Plottools Plotedit etc. aren't supported by Compiler, you'll have to rebuild them yourself if you want the end user to have this functionality.
1 Kommentar
Weitere Antworten (1)
Joseph Cheng
am 22 Apr. 2015
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 Kommentare
Joseph Cheng
am 23 Apr. 2015
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.
Siehe auch
Kategorien
Mehr zu Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!