| MATLAB Central > MATLAB Newsreader > Strategy for interfacing c-mex s-function with ... |
|
|
|
Subject: Strategy for interfacing c-mex s-function with external model From: Kate J. Date: 9 Jan, 2012 20:34:08 Message: 1 of 6 |
|
I have a c-mex s-function block that is called from my Simulink model. This Simulink model also contains a block that contains a biomechanical model (it receives muscle activations as inputs, and outputs joint angles). |
|
Subject: Strategy for interfacing c-mex s-function with external model From: Rune Allnor Date: 9 Jan, 2012 21:52:13 Message: 2 of 6 |
|
On 9 Jan, 21:34, "Kate J." <kmj.w...@gmail.com> wrote: |
|
Subject: Strategy for interfacing c-mex s-function with external model From: Kate J. Date: 9 Jan, 2012 22:42:08 Message: 3 of 6 |
|
Thanks for your input, Rune. I'm just trying to determine what my best option is. Based upon your response, it seems like trying to call the biomechanical model function from the C++ dll might actually be a much more complicated way to do what I want. I think I'll stick with method (a). |
|
Subject: Strategy for interfacing c-mex s-function with external model From: Rune Allnor Date: 9 Jan, 2012 22:58:45 Message: 4 of 6 |
|
On 9 Jan, 23:42, "Kate J." <kmj.w...@gmail.com> wrote: |
|
Subject: Strategy for interfacing c-mex s-function with external model From: Kate J. Date: 9 Jan, 2012 23:05:09 Message: 5 of 6 |
|
>> If you already have the model as a DLL, then use that: |
|
Subject: Strategy for interfacing c-mex s-function with external model From: Rune Allnor Date: 9 Jan, 2012 23:11:27 Message: 6 of 6 |
|
On 10 Jan, 00:05, "Kate J." <kmj.w...@gmail.com> wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| cmex sfunction | Kate J. | 9 Jan, 2012 15:34:17 |
| interfacing | Kate J. | 9 Jan, 2012 15:34:17 |
Contact us at files@mathworks.com
