Function that calls another function in LiveScript

3 次查看(过去 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?

请先登录,再进行评论。

采纳的回答

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