appdesigner, choosing from dropdown different functions
Show older comments
Hello,
I want to create a simple app in appdesigner in which i can choose from a dropdown menu different functions which are stored in scripts.
If I then click on a Startbutton the selected function should be applied.
I created a private property
properties (Access = private)
val ;
end
function DropDownValueChanged(app, event)
gh = app.DropDown.Value;
app.val=gh;
function StartButtonPushed(app, event)
if (app.val==(someText))
someMatlabscript;
end
An error is not shown but it does not work.
Accepted Answer
More Answers (0)
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!