AS TO model reference on Version 2017A

30 views (last 30 days)
ED
ED on 18 Nov 2024 at 7:31
Commented: ED about 22 hours ago
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?

Accepted Answer

Sreeram
Sreeram on 20 Nov 2024 at 7:03
Hi @ED,
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!

More Answers (0)

Products


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!