simulink s-function real vector problem

my matrices are:
0
0
-0.00077508459792499222516002588172232
0.13046571007777727099745908112373
and
0
0
0
0
then also i get this error message actually i am calling the functions to generate these matrices and substituting the values of variables and obtaining the matrices
Output returned by S-function 's_function_pendulum_cart_template' in 'invertedpendulum_simulink_Final/S-Function' during flag=3 call must be a real vector of length 4

1 commentaire

Neel
Neel le 28 Nov 2013
but if i insert the same values manually then the output is comming

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 28 Nov 2013

Commenté :

le 28 Nov 2013

Community Treasure Hunt

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

Start Hunting!

Translated by