The Math Forum

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.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Strategy for interfacing c-mex s-function with external model
Replies: 5   Last Post: Jan 9, 2012 6:11 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Kate J.

Posts: 177
Registered: 6/9/11
Re: Strategy for interfacing c-mex s-function with external model
Posted: Jan 9, 2012 6:05 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

>> 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.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.