I am not able to use set_param to change type_options for system mask parameter

1 view (last 30 days)
I am using following code
I am not able do it this way, Is there any possible way to change options using set_param?

Accepted Answer

Ashish Azad
Ashish Azad on 16 Jun 2020
Using set_param we can only change the value of a parameter.
In this instance you should use parameter object and dot operator to chnage the value
The syntax is as follows:
paramObj.TypeOptions= {'1','2','3'};

More Answers (0)

Community Treasure Hunt

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

Start Hunting!