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!