Facing resource Acquirer, how to set serveral resources to acquire
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
season
am 23 Jul. 2025
Kommentiert: season
am 24 Jul. 2025
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 Kommentare
Akzeptierte Antwort
Laurent Royer
am 23 Jul. 2025
Try
set_param(acquirerPath, "ResourceName", "Crane|Station", "ResourceAmountSource", "Dialog|Dialog", "ResourceAmount", "2|1");
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!