How to properly structure code in appdesigner?
古いコメントを表示
Hi.
Assume having a complex GUI with dozens of private functions. What is the best way to split the code into separate files? How can I tell MATLAB that there is a private function, but the implementation of that function is done in a separate file?
2 件のコメント
Inception
2022 年 5 月 17 日
Kevin Holly
2022 年 5 月 17 日
As for your second question, if the function file is located within your path, MATLAB will find it when you call it. Call the function as you normally would. If the file is not within your current path, you can use addpath to add it to your path. Let me know if I misunderstood your question.
採用された回答
その他の回答 (1 件)
2 件のコメント
Walter Roberson
2022 年 5 月 18 日
app is handle class. You can define get and set operations and put access restrictions on them.
Inception
2022 年 5 月 22 日
カテゴリ
ヘルプ センター および 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!

