Editing CSFUNC, not working without C,D matrices
Mostrar comentarios más antiguos
I am trying to implement a continious function using S function, i tried editing csfunc file in toolbox/simulink/blocks
but the file is not working without C and D matrix . I have only A and B matrices of the system and i need to calculate dx/dt=Ax+Bu
As output i need the state vector x
I am learning to implement Sfunction and will highly appreciate your help,Thank you,Have a nice day
1 comentario
Kaustubha Govind
el 28 de Oct. de 2011
Please explain what you mean by "the file is not working without C and D matrix"? Have you eliminated all uses of 'C' and 'D'? What error/incorrect behavior do you see?
Respuesta aceptada
Más respuestas (1)
reen2015
el 30 de Nov. de 2011
0 votos
Categorías
Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!