How to run my main.m file from app designer ?

2 views (last 30 days)
farzad
farzad on 17 Mar 2020
Edited: BhaTTa on 13 Mar 2025
Hi All
If I have a main.m file that runs my other functions and I am designing an application , should I convert the main file to a function to call it from App code ?
Is there another alternative ?

Answers (1)

BhaTTa
BhaTTa on 13 Mar 2025
Edited: BhaTTa on 13 Mar 2025
Hey @farzad, if you are using app designer and want to make use of that function, you can add callback at appropriate component and add body of that function in the callback.

Categories

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

Community Treasure Hunt

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

Start Hunting!