Importing variables into Simulink from Matlab

조회 수: 106 (최근 30일)
Evan Schein
Evan Schein 2022년 2월 2일
댓글: Evan Schein 2022년 2월 2일
Hi all I am now trying to compile my Simulink model and having trouble linking my workspace variables.

채택된 답변

Benjamin Thompson
Benjamin Thompson 2022년 2월 2일
In the Model Explorer, go to the Model Workspace parameters and set the Data source to "MATLAB File". Select your M file to use in the file name edit box. If you have further problems be sure to post the model file and any error messages for the community to see.
  댓글 수: 1
Evan Schein
Evan Schein 2022년 2월 2일
Hi Ben,
Quck follow up here, any idea what these task blocks are and how they might relate to the state flow block that's shown here?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by