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 comentarios

Kaustubha Govind
Kaustubha Govind el 2 de Sept. de 2014
Please elaborate why it doesn't work. If there is an error please paste the exact message.
bouazza brahim
bouazza brahim el 2 de Sept. de 2014
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 el 8 de Sept. de 2014
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Productos

Preguntada:

el 2 de Sept. de 2014

Comentada:

el 8 de Sept. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by