Function that calls another function in LiveScript

조회 수: 5 (최근 30일)
alpedhuez
alpedhuez 2020년 5월 26일
댓글: alpedhuez 2020년 5월 30일
In Livescript, can one write a function that calls another function both defined in the same script?
  댓글 수: 2
Rik
Rik 2020년 5월 26일
Why don't you try? Isn't that faster than waiting for an answer from someone seeing your questions?
alpedhuez
alpedhuez 2020년 5월 26일
Have been working on it.

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

채택된 답변

Walter Roberson
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 CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by