MATLAB Answers

App-designer - opening Matlab editor

14 views (last 30 days)
Avratanu Biswas
Avratanu Biswas on 24 Oct 2019
Answered: Subhadeep Koley on 29 Oct 2019
Is it possible to provide user with an option to open the Matlab Editor from an standalone App made by Matlab-app designer ?

Answers (1)

Subhadeep Koley
Subhadeep Koley on 29 Oct 2019
Hi, there is a way to launch MATLAB editor from a standalone desktop aap. You just need to add the below line to your button / startup callback.
!matlab -nosplash -nodesktop -minimize -r "edit"
It creates a new instance of MATLAB and launches the Editor.
Download to the attached .zip file and refer the .mlapp and the standalone .exe file. launchEditor.PNG
You can tweak various parameter according to the this and this documentation to make it behave the way you like.

Community Treasure Hunt

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

Start Hunting!

Translated by