accessing data from workspace
조회 수: 2 (최근 30일)
이전 댓글 표시
hi,
how to access data stored in workspace into simulink block during simulation period
댓글 수: 0
답변 (2개)
MarkB
2011년 5월 25일
In addition to the FromWorkspace block, you can also use base workspace variables in most dialog boxes in Simulink. Also, if you open the Configuration Parameters, and go to the Import/Export section, you can associate the input ports and output ports with workspace variables as well. There are a few formats available for doing this, but the general idea is that you have a monotonically increasing column vector of step times, and then a matrix with rows corresponding to time steps and columns corresponding to input/output ports.
Titus Edelhofer
2011년 5월 25일
If I understand correctly, your are looking for the "From Workspace" Block from the Sources library ...
Titus
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!