Is there a way to have LiveScript buttons call arbitrary functions?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Currently, it appears the LiveScript Button control only has options to run the script or run a section or do nothing.
I have LiveScripts with functions included at the bottom that appear to run whenever a LS control changes values.
Is there a way to have a LS button run a user-defined function?
I have sorta found a way, include a check box assigned to a variable. In the section, send the variable to a function and the function executes if the check box is checked. However, the function will execute every time the script re-runs unless the user unchecks the box. (is there a way to script changes to UI values or reset default values by script? Currently you have to click each control to reset it AFAIK).
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!