Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

manage a vector in simulink

Status
Not open for further replies.

always84

Member level 1
Joined
Feb 24, 2010
Messages
39
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
italy
Activity points
1,567
Hello, my question should be simple. I wrote a matlab function which i´m using in a User-Defined simulink block. In this block i want to record the output in a vector, so i declare this vector has an emptys one (like a = [];) and than at every iteration i want to put the output in this vector. I alsoknow the final dimension of the vector, but esentially the problem si that at the step 1 i want to put the output in the first position of the vector, than in the step 2 i wanto to put the output in the second one and so on. at the and i want to read my vector in the output of the simulink block.

Thank you, for helping me
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top