I found what I needed. There is a demo called "Variable Transport Delay" in the help files. (I don't need the variable delay, but it is simple to make that a constant.) The code shows how to encapsulate the block in a .ssc file. It also shows the use of a function called delay(x,tau,...) that delays the signal x by the time tau.
What function in Matlab is equivalent to the block in Simulink "Transport Delay"?
조회 수: 4 (최근 30일)
이전 댓글 표시
I am trying to write a SimScape component file (.ssc) that uses a function that gives the same result as the Transport Delay block in Simulink. I can implement the functionality that I need within a SimScape model. However, I would like to encapsulate a part of this model in a component that is easily reused within a library.
What function in Matlab will implement the capability of the Transport Delay block?
댓글 수: 0
채택된 답변
추가 답변 (2개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!