matlab 2022a中递增值和运行节找不到了

2 views (last 30 days)
yang Li
yang Li on 17 Mar 2023
Answered: Shuba Nandini on 28 Mar 2023
从前的版本有个“递增值和运行节”功能,在变量上右键可以打开,可以指定步长逐次修改变量值并查看修改后的运算结果,但是在更新至2022a版本后找不到这个功能了

Answers (1)

Shuba Nandini
Shuba Nandini on 28 Mar 2023
Hello,
I understand that you cannot access “Increment value and run section" tool in MATLAB R2022a but 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.
Hope this helps.
Regards,
Nandini

Categories

Find more on 编程 in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!