Info
此问题已关闭。 请重新打开它进行编辑或回答。
Can a SimEvents Entity be passed into and out of a Referenced Model?
2 次查看(过去 30 天)
显示 更早的评论
Can a SimEvents Entity be passed into and out of a Referenced Model?
3 个评论
Brian Neiswander
2017-11-8
A good approach for this workflow is to use a custom library instead of model referencing. A custom library allows you to reuse components while maintaining all instances from one location. Also, this approach is compatible with SimEvents.
You can use a subsystem to encapsulate the reusable portion of your model and then move this subsystem into a custom library. You can create instances of this component by dragging the subsystem from your library to a model.
If you need to make changes, you can simply make your modifications in the library; all instances will be automatically updated. See the link below for more details.
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!