AS TO model reference on Version 2017A

27 Ansichten (letzte 30 Tage)
ED
ED am 18 Nov. 2024 um 7:31
Beantwortet: Sreeram am 20 Nov. 2024 um 7:03
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?

Antworten (1)

Sreeram
Sreeram am 20 Nov. 2024 um 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!

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by