Facing resource Acquirer, how to set serveral resources to acquire
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When using .m generate the block--resource Acquirer, I need set serveral resources to acquire. I use
set_param(acquirerPath, 'ResourceName', 'Crane','Resourceamount', '2');
but it only receives one resoure. If in next line I use
set_param(acquirerPath, 'ResourceName', 'Station','Resourceamount', '1');
it will replace the previous line.
0 commentaires
Réponse acceptée
Laurent Royer
le 23 Juil 2025
Try
set_param(acquirerPath, "ResourceName", "Crane|Station", "ResourceAmountSource", "Dialog|Dialog", "ResourceAmount", "2|1");
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete-Event Simulation 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!