simulink s-function real vector problem

1 view (last 30 days)
Neel
Neel on 28 Nov 2013
Commented: Neel on 28 Nov 2013
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 Comment
Neel
Neel on 28 Nov 2013
but if i insert the same values manually then the output is comming

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!