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

3 vues (au cours des 30 derniers jours)
RANJITH REDDY KALLURI
RANJITH REDDY KALLURI le 18 Fév 2016
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.

Réponse acceptée

Anish Mitra
Anish Mitra le 23 Fév 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.

Plus de réponses (0)

Catégories

En savoir plus sur Nonlinearity dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by