do not run a script in matlab live

1 view (last 30 days)
Josep Llobet
Josep Llobet on 3 Aug 2021
Answered: Ananya Tewari on 6 Aug 2021
There is some way for to not run a part of an script of MATLAB Live, without %comenting them?
Thank you
  1 Comment
Walter Roberson
Walter Roberson on 3 Aug 2021
... and presumably without %{ commenting either.

Sign in to comment.

Answers (1)

Ananya Tewari
Ananya Tewari on 6 Aug 2021
Hi,
If I understand your question correctly then you do not want to run a part of script from MATLAB Live Script without commenting the code. The Live Editor gives us the functionality of splitting the script into sections and only Run the sections that you want. Refer to this link for more information.

Community Treasure Hunt

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

Start Hunting!

Translated by