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

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

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

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 Live Scripts and Functions 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!