how to make dataset within simulink file?

1 次查看(过去 30 天)
I am using the look-up table of Simulink, and I load the data into the MATLAB workspace by importing a '.mat' file and assigning its variable name to the 'value' of the look-up table. This process is somewhat inconvenient as it requires both the Simulink file and the '.mat' file. Is there a way to create and store the necessary data within the Simulink file itself?
Entering the data one by one is impractical due to the large amount of data.

采纳的回答

Jongil Lee
Jongil Lee 2023-9-25
  2 个评论
JGP
JGP 2023-9-25
해당 방법은 데이터가 Simulink 파일과 별도로 존재해야 하는 것으로 이해했습니다.
혹시 데이터 자체를 시뮬링크와 저장할 순 없을까요?
Jongil Lee
Jongil Lee 2023-9-26
안녕하세요
MATLAB/Simulink에는 다양한 Workspace 개념이 있습니다. Simulink 모델에 데이터를 저장하기 위해선 Model Workspace를 사용하시면 됩니다. 아래 링크를 참고하시기 바랍니다.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by