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 Commento

K E
K E il 22 Feb 2012
Could you put in a Matlab function to do this? I am no expert...

Risposte (1)

Questa domanda è chiusa.

Prodotti

Tag

Richiesto:

il 21 Feb 2012

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by