Simulink change vector data over time
조회 수: 10 (최근 30일)
이전 댓글 표시
I need to give my model a vector data changing over time.
Trying to use signal blocks, they seem to need variables but not vectors.
Is there any way to solve the problem?
댓글 수: 0
채택된 답변
Ameer Hamza
2020년 10월 7일
You can also use MATLAB function block and write the code to generate the signals: https://www.mathworks.com/help/simulink/slref/matlabfunction.html. To get information about time inside the function block, use clock https://www.mathworks.com/help/simulink/slref/clock.html.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!