MATLAB Answers

Error: Live Editor Run Section

14 views (last 30 days)
Jiawei Gong
Jiawei Gong on 2 Feb 2020
Commented: Marilee Nugent on 8 Jan 2021
My scirpt has multiple sections. I intentially leave a few lines incomplete for demo purpose. When I run Section One, the error massage pops up in Section Two ( I hit "Run Section Capture2.JPG" in Section One ! ). It seems before the compiler ran a particular section, it worked through the entire live editor script. If there is any errors, it refuses to run a section.
In short, how to run one section in live editor when errors present in other sections?

Answers (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi on 5 Feb 2020
To know the reason why this is not working you could refer to the following link
If you want to evaluate a part of the code, you can select the respective part and press F9 (Evaluate Selection).
  1 Comment
Marilee Nugent
Marilee Nugent on 8 Jan 2021
This is not an acceptable change to matlab!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!