Kate J.
Posts:
159
Registered:
6/9/11
|
|
Re: Strategy for interfacing c-mex s-function with external model
Posted:
Jan 9, 2012 6:05 PM
|
|
>> If you already have the model as a DLL, then use that:
Just to be clear, what I currently have is: ~ a Simulink model ~ a c-mex s-function, which gets called as a block within my Simulink model ~ a biomechanical model block within my Simulink model ~ a separate biomechanical model .dll that contains a function that I can theoretically call, to perform the same function as the biomechanical model block that's currently in my Simulink model -- BUT all of this .dll code is written in C++, and might require conversion to C.
Do you still recommend using the call to the biomechanical model function, if the .dll *isn't* yet compatible with my c-mex s-function? Thanks.
|
|