Function that calls another function in LiveScript
1 回表示 (過去 30 日間)
古いコメントを表示
In Livescript, can one write a function that calls another function both defined in the same script?
2 件のコメント
Rik
2020 年 5 月 26 日
Why don't you try? Isn't that faster than waiting for an answer from someone seeing your questions?
採用された回答
Walter Roberson
2020 年 5 月 26 日
Yes, provided that you are using a MATLAB release new enough to support functions in Live Scripts (which you are.)
Note that the name of the functions must be different than each other, and that neither one can be the same as the name of the live script.
I include an example.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!