run and advance live functions

1 次查看(过去 30 天)
Matthieu
Matthieu 2022-9-2
评论: Matthieu 2022-9-7
I try to use "increment value and run section", (it is a shame that is has been removed...), I understand that I have to move to live function but I see that section break (+ "ctrl enter" shortcut...) has disappered also (Why !!?? ) , So I conclude that I can't use slider in live functions ?? Correct ? How to tweak/adjust parameters during debuging functions now ??
Matlab is loved for its convenience please don't remove such convenient tools without any better replacement tools or leave both things ! Please also consider that tons of matlab code/fucntions already written with no time to change because live editor arrived... Shame...
(EDIT)
to clarify my question :
Section break are not compatible with ''Live Function'', correct or not ?
Then 'Controls' (slider,...) are not usable without section break ? , correct or not ?
Then 'Controls' are not usable with 'Live functions', correct or not ?
So,
  • How to execute part of code in 'live functions' ? (Other than select/F9...)
  • How to tweak parameters in 'live functions' or in 'functions' ? (with something similar to former 'increment value and run section', or similar to 'Controls' (slider,...) ) ?

回答(1 个)

Guru Kumaresan
Guru Kumaresan 2022-9-5
Hello,
As far as I know, there is something similar that is supported in the Live Editor starting from release R2018a. You can insert Controls (slider, dropdown, etc) using the Control dropdown in the toolstrip of the Live Editor.
For more information on this topic please see the documentation here.
Thank you.
  2 个评论
Matthieu
Matthieu 2022-9-5
Hello, to maybe clarify my question :
Section break are not compatible with ''Live Function'', correct or not ?
Then 'Controls' (slider,...) are not usable without section break ? , correct or not ?
Then 'Controls' are not usable with 'Live functions', correct or not ?
So,
  • How to execute part of code in 'live functions' ? (Other than select/F9...)
  • How to tweak parameters in 'live functions' or in 'functions' ? (with something similar to former 'increment value and run section', or similar to 'Controls' (slider,...) ) ?
Matthieu
Matthieu 2022-9-7
Hello Guru Kumaresan, how to get an answer ?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Live Scripts and Functions 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by