how to import the excel data into matlab simulink model?

1 Ansicht (letzte 30 Tage)
Pavithra V
Pavithra V am 23 Jan. 2017
Beantwortet: Purushottama Rao am 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.

Antworten (1)

Purushottama Rao
Purushottama Rao am 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

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by