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

3 次查看(过去 30 天)
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.

采纳的回答

Anish Mitra
Anish Mitra 2016-2-23
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Nonlinearity 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by