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
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