Function that calls another function in LiveScript
조회 수: 5 (최근 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에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!