Adding full figure edit options to an executable?

조회 수: 2 (최근 30일)
matlabuser12
matlabuser12 2015년 4월 22일
편집: matlabuser12 2015년 4월 24일
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.

채택된 답변

Sean de Wolski
Sean de Wolski 2015년 4월 24일
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
matlabuser12
matlabuser12 2015년 4월 24일
편집: matlabuser12 2015년 4월 24일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Joseph Cheng
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
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
matlabuser12 2015년 4월 24일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by