How to send data to lookup table w.r.t time step

1 view (last 30 days)
How to send a array of values into lookup table w.r.t time... For eg: I have ten data points [ 1:1:10] i want to pass one value at a time step into lookup table.
</matlabcentral/answers/uploaded_files/45661/basic.png> In the above model, i have two variable x,y (10 values each) passing to 2-d look table... I want to pass only one value at every time step till the end of the no. of values in them.

Accepted Answer

Anish Mitra
Anish Mitra on 23 Feb 2016
You can import data into a Simulink model using Inports. This also allows you to define the time as well as the signal values.
http://www.mathworks.com/help/simulink/ug/importing-data-structures-to-a-root-level-input-port.html#bsuwoyk There are other methods too of importing data, and are discussed in the following link.

More Answers (0)

Categories

Find more on Nonlinearity in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!