What happened to the "increment value and rerun section" functionality in the regular editor for 2021b? H

5 次查看(过去 30 天)
In 2021b the right click menu allowing one to increment or decrement a value and rerun the section has been removed.
How can I achieve this same functionality without having to convert all my functions to live scripts (which I really don't like)?

采纳的回答

Walter Roberson
Walter Roberson 2021-10-29
It is gone and it probably will not be back. Documented in the release notes.
There is no workaround that would be acceptable to you.

更多回答(1 个)

Julie Shapiro
Julie Shapiro 2023-3-16
We are happy to report that starting in R2023a, the Increment Value and Run Section tool is once again available in the Editor. You can use the tool to increment, decrement, multiply, or divide numeric values in the Editor and then run the current section after every change.
To adjust a numeric value, select the value or place your cursor next to the value, right-click and select Increment Value and Run Section. Then, use the Increment Value and Run Section dialog box to adjust the value and run the current section.
The Increment Value and Run Section tool is only available in the Editor. To adjust numeric values in the Live Editor, use controls such as numeric sliders and spinners.
For more information, see Create and Run Sections in Code and the MATLAB Release Notes.

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by