setting parameters for 4 Blocks (wrong number of input arguments, should be odd?)
Show older comments
Hello,
when i set the Parameters for 1 Block i dont have any Problems( 3 input arguments )
But as soon as i want to do it for 4 i get an error message
set_param('model/Transfer Fcn','Denominator','T11','model/Transfer Fcn1','Denominator','T12','model/Transfer Fcn2','Denominator','T21','model/Transfer Fcn3','Denominator','T22');
Wrong number (12) of input arguments detected
At least 3 arguments are needed for set_param.
The number of arguments should be an odd value.
that doesnt make any sense to me , since there are 3 input arguments for every Block.
why do i get an error and how can i solve it ?
thanks in advance and
Kind regards,
Bünyamin
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions 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!