No "Increment Value and Run Section" in Live Scripts?

3 ビュー (過去 30 日間)
Julien Oster
Julien Oster 2017 年 11 月 26 日
I switched my project to a Live Script instead of a normal .m script. However, in MATLAB R2017b, while I am able to use the "Increment Value and Run Section" functionality by choosing it from the context menu in a .m script, I cannot find the feature in Live Scripts. Is it not supported, or am I doing it wrong?
"Increment and Run" is a very simple but immensely helpful feature when fine tuning values.
  1 件のコメント
Sadaqat ALI
Sadaqat ALI 2021 年 1 月 21 日
excuse me Julien, i have the same problem in R2020a version.
did you find the solution;?

サインインしてコメントする。

採用された回答

Nidhi Jain
Nidhi Jain 2021 年 3 月 4 日
編集済み: Nidhi Jain 2021 年 3 月 4 日
Hello,
Thank you for your interest in this feature. We have something similar that is supported in the Live Editor starting from release 18a! You can insert Controls (slider, dropdown, etc) using the the Control dropdown in the toolstrip of the Live Editor. For more information on this topic please see the documentation here. Thanks again for the feedback and interest in Live Scripts!
Let me know if you have further questions or feedback.
  5 件のコメント
Julie Shapiro
Julie Shapiro 2023 年 3 月 16 日
編集済み: Julie Shapiro 2023 年 3 月 16 日
Hi ,
Thanks for your feedback on the removal of the Increment Value and Run Section tool.
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.
Constantino Carlos Reyes-Aldasoro
Constantino Carlos Reyes-Aldasoro 2023 年 4 月 4 日
This is great, thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLive Scripts and Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by