does the GUI read scripts?
Mostra commenti meno recenti
Hello Guys, I have a question please. I started to watch tutorials on YouTube about the Graphical user interface on matlab, because I wrote many codes and I need to visualize them. my question is: my codes are written on scripts, I didn't make then as function, Can the Graphical user interface deal with scripts? or should I have them as functions? another question , how can I learn more about this. thank you guys.
1 Commento
Even if it did, you should not be using scripts. Scripts might be fun for playing around in the command window, but if you want to write code that is efficient, repeatable, and debuggable then you need to be writing functions or classes.
Rule of thumb: if your code is going to be used for more than one day, turn it into a function. Test it, document it, write clear input and output specifications.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!