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

조회 수: 1 (최근 30일)
RANJITH REDDY KALLURI
RANJITH REDDY KALLURI 2016년 2월 18일
답변: Anish Mitra 2016년 2월 23일
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