MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Arun Badigannavar
on 25 Feb 2013

http://img189.imageshack.us/img189/6594/testusjv.jpg I want to import data of array in to my model,,,in the above link i am importing three values to simulink block,,,but rather i want to import like a(1,1)for first time calculation a(1,2) for second time,,like this i want to import rather importing a,, how to do this?

*No products are associated with this question.*

## 3 Comments

## Arun Badigannavar (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/64811#comment_132059

Please help me out

## TAB (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/64811#comment_132066

What do you mean by

. Is it mean for 1st sample time ?import for first time calculation## Arun Badigannavar (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/64811#comment_132071

No,,,I mean *

Import for first time mean that*I want a (1)for one time simulation based on some condition,,,second time if i want to do simulation it should take a value based on some logic which i have