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.

 Respuesta aceptada

Sean de Wolski
Sean de Wolski el 24 de Abr. de 2015

0 votos

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 comentario

matlabuser12
matlabuser12 el 24 de Abr. de 2015
Editada: matlabuser12 el 24 de Abr. de 2015
That is such a letdown, thanks for the full confirmation though. Also i cannot access that link, becuase of To see documentation for this product, you need to have the product on your license.. WTF mathworks, I can't even read about where you screwed up?

Iniciar sesión para comentar.

Más respuestas (1)

Joseph Cheng
Joseph Cheng el 22 de Abr. de 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 comentarios

matlabuser12
matlabuser12 el 23 de Abr. de 2015
Editada: matlabuser12 el 23 de Abr. de 2015
Thanks for the tip, I tried both what you wrote and the method in the link and neither provided me with a full menu. It seems that this person had a similar question (albeit 5 years ago) but at the time it was not possible to do, if things haven't changed on this, mathworks has really dropped the ball on program deployment unfortunately. http://www.mathworks.com/matlabcentral/newsreader/view_thread/294741
Joseph Cheng
Joseph Cheng el 23 de Abr. de 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.
matlabuser12
matlabuser12 el 24 de Abr. de 2015
I really need the full menu for plot editing. The program I was writing to deploy on other computers was a data processing and plotting program. So the end user must be able to add arrows, axis labels, draw lines etc.

Iniciar sesión para comentar.

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Abr. de 2015

Editada:

el 24 de Abr. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by