How can I model time-independent models in Simulink?

조회 수: 3 (최근 30일)
Lockywolf
Lockywolf 2019년 12월 11일
I have a physical component library, implemented as a forest of Matlab classes, where each object would represent a fairly independent block in a problem domain. This allows me to construct pipelines of data propagation, starting from a source to a sink, which is usually either an image or a table. At the moment we use this library by describing all of the components in an .m file, and using "publish" to produce a report of the simulation.
However, this way of work is not very visual (a huge problem!), and it does not support any Simulink "goodies" such as XIL or evern nesting of models.
When I tried to explore the option of using Simulink, I found several difficulties, which make me ask for help:
1) It seems that Simulink is quite tightly bound to time-dependent systems. Can I make time-independent models in Simulink?
2)I found that I can make something more similar to what I need in Simscape, but Simscape seems to only support instrinsic data types for its inputs and outputs, whereas the signals that my blocks produce are complicated Matlab objects, which also have Matlab objects as members. Is there a way to transfer Matlab objects through Simulink bus?
3)Every block I have has quite a lot of state variables inside. When I am modelling my system, I don't want to click on all the blocks in turn, as there are too many of them, and I easily forget which ones I fogot to initialize correctly. Can I make Simulink display the parameters in lists below the blocks?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Composite Components에 대해 자세히 알아보기

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by