when i want to modify the input number of certain component through script,error happens
2 views (last 30 days)
Show older comments
if i replace num with real num, like 17, it works, any one who knows why?

0 Comments
Accepted Answer
drummer
on 24 Mar 2023
I'm not familiar with this function, but as you declared num before, try to call it without ' '.
set_param('text/BC1', 'Inputs', num);
Cheers
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!