Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Deployment of a standalone figure editor possible?

Asked by Andreas on 13 Dec 2012

Is it possible to create / deploy a standalone matlab figure EDITOR? If I use the deploytool with this simple m-file

[in_name, in_path] = uigetfile('*.fig', 'Select MATLAB figure');
if in_name == 0
    return
else
    h = openfig([in_path in_name], 'new')
end

I get a standalone figure VIEWER which works great.

However if I add this line at the end

showplottool(h, 'propertyeditor')

the created EXE file opens the figure, and then crashes with a "pure virtual function call".

Can anyone please help? Thanks!

0 Comments

Andreas

Products

No products are associated with this question.

1 Answer

Answer by Jing on 13 Dec 2012

This is because there's limitation and restriction to deploy program in MATLAB, one of which is those functions calling 'Tools that allow run-time manipulation of figures'. So 'showplottool' is not a supported function. You can find the limitation and restrictions of deployment in help document.

0 Comments

Jing

Contact us