[Feature request] "Run from Start to Here" button in Live Scripts

5 views (last 30 days)
The "opposite" of the currently existing "Run to End" button.
Useful for tuning Live Script reports, in particular when time consuming sections are present.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Apr 2021
In the Live Editor, mouse over to the white border between the line numbers and the gray space for the code. A "Run to Here" button will appear that you can click.
  2 Comments
Joan Vazquez
Joan Vazquez on 21 May 2021
This does the job in general, but it is not exactly the same funcitonality. It will enter in debugging mode, thus clearing all output from sections below.
Say I have a Live Script with 100 sections and their output, the last 50 are fine, and I want to rerun the first 50.
Again, not saying this is good practice, it is just not the opposite of "Run to End".

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!