
Replacing specific block with subsystems
조회 수: 1(최근 30일)
표시 이전 댓글
I want to replace all the 'Memoey ' blocks in a model with a subsystem which would have the functionality of 'Memory' block. But the initial condition to the 'Memory' block should be passed from From workspace block as the initial conditions are changed frequently. I have the initial conditions stored in an array. Any help is appreciated. I am using MATLAB 2020a
댓글 수: 0
채택된 답변
Benjamin Thompson
2023년 1월 24일
Here is one way. I think you would just use a constant block rather than From Workspace because From Workspace is looking to use a time sampled array or table, something like that.

추가 답변(0개)
참고 항목
범주
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!