Set port dimensions using variables

1 Ansicht (letzte 30 Tage)
William Chavez
William Chavez am 15 Jan. 2014
Is there a way to set port dimensions with variables? I used workspace variables that are uint16 and positive (e.g. [kNumAccel kNumAct]) and got this error:
Error:Error invoking object method
Dimensions specified in model are invalid. Dimensions must be -1 (inherited) or a non-empty vector of strictly positive integers.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by