When using Variant Models is it possible to select a model at run time, instead of at compile?
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Adam
el 1 de Oct. de 2013
Comentada: Kaustubha Govind
el 3 de Oct. de 2013
Looking for a way to easily compile multiple models and then pick which model to use during runtime. Similar to how the Variant Model block allows you to select a different model at compile time.
Thanks,
0 comentarios
Respuesta aceptada
Kaustubha Govind
el 1 de Oct. de 2013
No, Variant Subsystems cannot be selected at run-time. You need to use Conditional Subsystems like Triggered/Enabled Subsystems in that situation.
2 comentarios
Kaustubha Govind
el 3 de Oct. de 2013
Adam: Could you explain why Conditional Subsystems don't work for your situation? I think Variant Subsystems were specifically designed with compile-time considerations in mind - Conditional Subsystems have existed in Simulink for a long time.
Más respuestas (0)
Ver también
Categorías
Más información sobre Component-Based Modeling en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!