Difference between data store memory(DSM) and goto-from blocks?
조회 수: 6 (최근 30일)
이전 댓글 표시
In which situation we need to use DSM and From/Goto Blocks?
Effect on Code and model performance?
댓글 수: 0
채택된 답변
Walter Roberson
2020년 2월 8일
They are completely different. From/Goto is for flow control, "Send this signal to another part of the model that I have described somewhere else". DSM holds on to information until the information is replaced, able to retrieve the information whenever it is asked for. DSM corresponds to storing something into a variable.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!