Figure properties or standalone applications properties
1 回表示 (過去 30 日間)
古いコメントを表示
I have a simple script which is drawing figure
I make an application with matlab compiler and I want to launch it several times from an interface
My problem is : when I launch the application and show the figure, I have to close DOS consol to get control on my interface. If I close DOS consol, figures desappear and I would like they don't.
Is there properties in figures or application or compiler to have this running ?
2 件のコメント
Rushikesh
2024 年 9 月 27 日
Try compiling application by suppresing console window.
mcc -m myScript.m -e
回答 (1 件)
UDAYA PEDDIRAJU
2024 年 9 月 30 日
Hey Franck,
Since, -e option not worked, did you try following ways?
- Set Figure Properties: Use Visible to 'off' initially, then 'on' when needed.
- Consider creating a MATLAB-based launcher script to control figure visibility.
function launch_matlab_app(script_path)
% Launch MATLAB application in a separate process
system(['matlab -nosplash -nodesktop -r "run(''' script_path ''')"'']);
end
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!