Input of Simulink block used in vector

Hi all,
I'm using a constant input (actually a strcuture of constant values implemented via a BUS) in a simulink block and I want to use it to create a vector. For example let say my input is m, I want to create n = 1:m ; Apparently it is not possible. Any suggestions to go around this ? m is defined in my Matlab workspace.
Cheers Alex

1 commentaire

K E
K E le 22 Fév 2012
Could you put in a Matlab function to do this? I am no expert...

Réponses (1)

Alexandre
Alexandre le 22 Fév 2012

0 votes

Any clue someone ?

Cette question est clôturée.

Produits

Tags

Question posée :

le 21 Fév 2012

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by