Function that calls another function in LiveScript

In Livescript, can one write a function that calls another function both defined in the same script?

댓글 수: 2

Why don't you try? Isn't that faster than waiting for an answer from someone seeing your questions?
Have been working on it.

댓글을 달려면 로그인하십시오.

 채택된 답변

Walter Roberson
Walter Roberson 2020년 5월 26일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2020년 5월 26일

댓글:

2020년 5월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by