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

1 visualización (últimos 30 días)
I will be very thankful, if there are any answers for this.

Respuesta aceptada

ES
ES el 8 de Sept. de 2017
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 comentario
swathi kumar sravanam
swathi kumar sravanam el 8 de Sept. de 2017
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by