run and advance live functions

1 vue (au cours des 30 derniers jours)
Matthieu
Matthieu le 2 Sep 2022
Commenté : Matthieu le 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,...) ) ?

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Live Scripts and Functions dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by