How to import excel file into my simulink model without communicating with workspace

조회 수: 1 (최근 30일)
I will be very thankful, if there are any answers for this.

채택된 답변

ES
ES 2017년 9월 8일
If u can store in a mat file, u can use From File block in your model. Alternatively u can use m-functions
But why do you want to avoid Workspace communication? Because its much easier to read the xls data, and use From Workspace block to achieve the same.
  댓글 수: 1
swathi kumar sravanam
swathi kumar sravanam 2017년 9월 8일
Thank you J Smith,
yes it is the best practice to read the excel file from workspace. But I just like to know the other mode of possibilities to read the excel file and more over I would like to generate the code for my model. so just to avoid the scripting and from work space for the code compatibility sake.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by