when i want to modify the input number of certain component through script,error happens
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
wenchao zhang
le 24 Mar 2023
Commenté : wenchao zhang
le 25 Mar 2023
if i replace num with real num, like 17, it works, any one who knows why?
0 commentaires
Réponse acceptée
drummer
le 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Schedule Model Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!