Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
Strategy for interfacing cmex sfunction with external model
Replies:
5
Last Post:
Jan 9, 2012 6:11 PM



Kate J.
Posts:
177
Registered:
6/9/11


Re: Strategy for interfacing cmex sfunction 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 cmex sfunction, 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 cmex sfunction? Thanks.



