how to make dataset within simulink file?

1 view (last 30 days)
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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!