필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
I am using following code
set_param(sub,'p','TypeOptions',{'1','2','3'})
I am not able do it this way, Is there any possible way to change options using set_param?

채택된 답변

Ashish Azad
Ashish Azad 2020년 6월 16일
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'};

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by