import a .m file into app designer

I created a matlab app with the app designer to understand how to code in GUI elements into a code. I then procceded to export the code to a .m file. I made a large number of additions and edits to the code and now I would like to compile it into an exe. I was wondering if there was a way to import this .m file into app designer or if I would be able to set up a completely blank app where I can manipulate all the code to just copy and paste my code into the Code View?

Answers (1)

Sai Sri Pathuri
Sai Sri Pathuri on 28 Feb 2020
Currently, there is no option to import .m file or copy/paste your code into app designer.
You may make changes in the code by selecting the Code View in the app designer. The properties in the code can be modified by making the corresponding changes in the component browser (right side of the screen). You may even add callbacks, functions and properties from the code browser (left side of the screen).

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 25 Feb 2020

Answered:

on 28 Feb 2020

Community Treasure Hunt

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

Start Hunting!