Creating S-function from CasADi generated C code

121 views
Skip to first unread message

OPW

unread,
Jun 22, 2018, 12:10:54 PM6/22/18
to CasADi
Hello All,
I am trying to create an S-function from a CasADi generated C code. The C code API generated by CasADi is quite difficult to understand. I am able to create S-function from a normal C code using legacy tools. Does anybody have experience of doing this?  Any help would be appreciated! 


(PS: The reason to create S-function is to eventually use Simulink to auto-generate C code for me. )

Joris Gillis

unread,
Jul 11, 2018, 5:05:24 PM7/11/18
to CasADi
Hi there,

I took a brief look at S functions, and got something running.
I'll be doing a blog post on it; you can find the demo files already here:
Perhaps you can write a part of it? Got very little experience with simulink myself..

Best regards,
  Joris
Reply all
Reply to author
Forward
0 new messages