model Callbacks how to use InitFcn

I need a help in callbacks of simulink, i used an interpreted matlab function in simulink but i have an initials conditions, i tried to use callbacks to declare the initial conditions but it does not work (i used InitFcn callback)

3 件のコメント

Kaustubha Govind
Kaustubha Govind 2014 年 9 月 2 日
Please elaborate why it doesn't work. If there is an error please paste the exact message.
bouazza brahim
bouazza brahim 2014 年 9 月 2 日
Error in 'essai_part_val_st_hp_diss55_neww20082014/HP_3/Calcul mp'. Evaluation of expression resulted in an invalid output. Only finite double vector or matrix outputs are supported
as i see the model dont take the intial conditions that i give them.
bouazza brahim
bouazza brahim 2014 年 9 月 8 日
I have another question, does the algorithm Newton raphson is implemented in Matlab, if yes with wich function, for exemple as i see its not implemented with "fsolve" function.

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

回答 (0 件)

カテゴリ

製品

質問済み:

2014 年 9 月 2 日

コメント済み:

2014 年 9 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by