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 Comments

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

Sign in to comment.

 Accepted Answer

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.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Release

R2020a

Tags

Community Treasure Hunt

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

Start Hunting!