matrix creation simulink block

1 view (last 30 days)
Danilo NASCIMENTO
Danilo NASCIMENTO on 20 Nov 2013
Commented: Azzi Abdelmalek on 21 Nov 2013
I have a signal and its time correspondent. Is there a way of putting this signal inside a matrix in simulink so I can use it for an other application? I was trying to use a lookup table, but I don't know whether this is the way.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 20 Nov 2013
Edited: Azzi Abdelmalek on 20 Nov 2013
t=0:100 % time vector
y=sin(t) % your signal
ty=[t' y']
Use a from workspace block and set its parameter to ty
  8 Comments
Danilo NASCIMENTO
Danilo NASCIMENTO on 21 Nov 2013
No. I already have these vectors generated by an other application. And I want to use them to generate this signal in simulink. But these signal vectors are not from simulink.
Azzi Abdelmalek
Azzi Abdelmalek on 21 Nov 2013
Then explain clearly what those application are, or how your vectors are stored.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!