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 件のコメント

Neel
Neel 2013 年 11 月 28 日
but if i insert the same values manually then the output is comming

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2013 年 11 月 28 日

コメント済み:

2013 年 11 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by