how to import the excel data into matlab simulink model?

2 vues (au cours des 30 derniers jours)
Pavithra V
Pavithra V le 23 Jan 2017
i have a simulink model of electro hydrostatic actuator. i need to find the values of current by changing the input parameters (resistance and inductance) values. i have generated 10000 values for R and L using normal distribution function by using the command normrnd and saved in excel.i have to import these values to simulink model, so it can take any values out of 10000 inputs. anyone pls help me.so i ll be very thankful.

Réponses (1)

Purushottama Rao
Purushottama Rao le 23 Jan 2017
As i understood, you have set of 10000 R and L Values. You would like to get the current values for each set of R L values. You can run the simulation programaticlly which also avoid the need of XL loading. Use the below link. https://in.mathworks.com/help/simulink/ug/using-the-sim-command.html

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by