Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: loop in Simulink?
Replies: 2   Last Post: Nov 18, 2009 11:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
joe

Posts: 19
Registered: 9/24/09
Re: loop in Simulink?
Posted: Nov 18, 2009 11:20 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Nikolay " <nickich@abv.bg> wrote in message <he1423$h5t$1@fred.mathworks.com>...
> Hi,
>
> I have a Simulink model with 'Signal from Workspace' block, which is 3D array (n 2D arrays). At each iteration in Simulink I have one of those 2D arrays as an output of that block.
> Now I want to scan the 2D array (which is outputed from the block) and do some processing. I'll need something like a 'for-loops'.
>
> How can I do that in Simulink?
>
> Regards,
> Nikolay


Hi
you have for block into simulink , jsut check the block "Ports and sub-system" and you will see the block "for iterator subsystem"..
You can use it with the enable subsystem..

thanks


Date Subject Author
11/18/09
Read loop in Simulink?
Nikolay
11/18/09
Read Re: loop in Simulink?
joe
11/18/09
Read Re: loop in Simulink?
Nikolay

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.