does the GUI read scripts?
古いコメントを表示
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 件のコメント
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!