how to import the excel data into matlab simulink model?

1 view (last 30 days)
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.

Answers (1)

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

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!