run and advance live functions

3 views (last 30 days)
Matthieu
Matthieu on 2 Sep 2022
Commented: Matthieu on 7 Sep 2022
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,...) ) ?

Answers (1)

Guru Kumaresan
Guru Kumaresan on 5 Sep 2022
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 Comments
Matthieu
Matthieu on 5 Sep 2022
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 on 7 Sep 2022
Hello Guru Kumaresan, how to get an answer ?

Sign in to comment.

Categories

Find more on MATLAB Mobile Fundamentals 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!