Is there a way to have LiveScript buttons call arbitrary functions?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!