How to send variable signals in Simulink?

조회 수: 3 (최근 30일)
Anup
Anup 2023년 1월 28일
댓글: Sulaymon Eshkabilov 2023년 1월 29일
I have the signal I need to use in simulink model. The x-axis is time step while the y-axis is the value at each time step. I have a csv file of this data. How to use this in simulink?

채택된 답변

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 1월 29일
Simulink has [From Spreadsheet] block that can be used to read data from an external file - *.csv.
Here is one example (DATA_read.slx and Data.csv - attached to theis post) - Simulink model with external data reading block - [From Spreadsheet] with discrete solver with a step size of 0.001.
  댓글 수: 2
Anup
Anup 2023년 1월 29일
Could you send the slx file in downgraded version? I have R2022a
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 1월 29일

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by