AS TO model reference on Version 2017A
2 次查看(过去 30 天)
显示 更早的评论
I learned that the latest version of matlab supports model reference which I think means the subsystem used in a file can be stored into the eponymous file.
I tried to do the same way the official web shows which is based on the latest version using Subsystem Block tab which is absent in the 2017A.
I just wonder whether 2017A can make it or from which version on it supports the method?
0 个评论
采纳的回答
Sreeram
2024-11-20
I assume that you want to know how to perform model referencing in MATLAB R2017a, and in which version was subsystem referencing introduced.
You may use the “Model” block to include a model as a block in another model in MATLAB R2017a. The “Model” block displays input and output ports corresponding to the top-level input and output ports of the included model, called the referenced model. You may refer to the relevant documentation by running the following command in the MATLAB Command Window:
web(fullfile(docroot, 'simulink/slref/model.html'))
If the modelling requirement in your use case is to reduce file contention and merge issues, you might want to consider using a subsystem reference. However, subsystem reference is not available in MATLAB R2017a. It was introduced in MATLAB R2019b. Here is the link to the MathWorks blog post introducing the subsystem reference:
You may refer to the flow chart to help you decide which type of model component suits your use case well here:
I hope it helps!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!