In GUI, RangeSlider 's Value may have a wrong type
Show older comments

The offical document says that it is a two-element numeric array, But when I try to get value from it like this:
[minFrq,maxFrq] = app.FilterHzSlider.Value;
it throw a error, said that the number of value is not enough.So I have a test:
X = app. FilterHzSlider.Value;
disp(class(x));
the result is:
double
then I try this:
x=app.FilterHzslider.value;
disp (num2str (x));
then result is:
50 1000
It is confusing.
Accepted Answer
More Answers (0)
Categories
Find more on Package and Share Apps 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!