For Programmers: Free Programming Magazines  


Home > Archive > Matlab > September 2006 > Dynamically sized matrices in SIMULINK









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dynamically sized matrices in SIMULINK
Eva

2006-09-05, 4:03 am

Hi all!
I am trying to use SIMULINK in order to create a model.
Some parts of the model have already been implemented using M-files.
In these files the size of some matrices is dynamically defined (it
depends upon if-else conditions).
My question is how can I handle dynamically sized matrices in
SIMULINK?

Thank u all in advance!

Eva
Titus Edelhofer

2006-09-05, 8:03 am

Hi Eva,
sizes of signals are fixed in Simulink through a simulation. The
only way is to have a signal large enough and another carrying
the actual size of the signal.

Titus

"Eva" <eloukog@civil.auth.gr> schrieb im Newsbeitrag
news:ef3ff3d.-1@webcrossing.raydaftYaTP...
> Hi all!
> I am trying to use SIMULINK in order to create a model.
> Some parts of the model have already been implemented using M-files.
> In these files the size of some matrices is dynamically defined (it
> depends upon if-else conditions).
> My question is how can I handle dynamically sized matrices in
> SIMULINK?
>
> Thank u all in advance!
>
> Eva



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com