how to make dataset within simulink file?

1 Ansicht (letzte 30 Tage)
JGP
JGP am 25 Sep. 2023
Kommentiert: Jongil Lee am 26 Sep. 2023
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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by