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

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Anish Mitra
Anish Mitra il 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.

Più risposte (0)

Categorie

Scopri di più su Nonlinearity in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by