Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

how save data from To workspace block

Asked by Arun Badigannavar

Arun Badigannavar

on 13 Dec 2012

I have a simulink calculation where at the end of my calculation,there will be genereation of more the 10 number of output from a block,,, so i am sending the result back to workspace with "to workspace" block ,,but in my next use I want use only last cell of data available in the workspace "from workspace" block,,,and my result will always vary in the number of outputs,,,sometimes 10 outputs sometimes 12, 13, 18, 19, like this ,,,and i want to access oly last cell data for my next calculation

2 Comments

Azzi Abdelmalek

Azzi Abdelmalek

on 13 Dec 2012

Can you explain with a diagram ?

Arun Badigannavar

Arun Badigannavar

on 13 Dec 2012

Mr Azzi it got solved,,,Do u have any idea about simulink block which takes input value from feedback loop from other block

Arun Badigannavar

Arun Badigannavar

Tags

Products

No products are associated with this question.

1 Answer

Answer by Muruganandham Subramanian

Muruganandham Subramanian

on 13 Dec 2012

Try using Lookup Table

2 Comments

Arun Badigannavar

Arun Badigannavar

on 13 Dec 2012

No use,,,I tried,,I want a block which will take input from other block in a loop,,,like feedthrough

Kaustubha Govind

Kaustubha Govind

on 26 Dec 2012

You probably need to use a Unit Delay block in the loop to allow the previous output to feed back to the input for the next time-step.

Muruganandham Subramanian

Muruganandham Subramanian

Contact us