Deployment of a standalone figure editor possible?

조회 수: 1 (최근 30일)
Andreas
Andreas 2012년 12월 13일
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!

답변 (1개)

Jing
Jing 2012년 12월 13일
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.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by