| MATLAB Central > MATLAB Newsreader > How to call Simulink model block from within c-... |
|
|
|
Subject: How to call Simulink model block from within c-mex s-function? From: Kate J. Date: 10 Jan, 2012 19:35:08 Message: 1 of 11 |
|
I have a system that consists of a Simulink model containing 2 main blocks: |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Rune Allnor Date: 10 Jan, 2012 19:47:06 Message: 2 of 11 |
|
On 10 Jan, 20:35, "Kate J." <kmj.w...@gmail.com> wrote: |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Kate J. Date: 10 Jan, 2012 19:58:08 Message: 3 of 11 |
|
Thanks for your input, Rune. I'm trying to weigh the advantages/costs of doing it each way. If I determine that there isn't a {simple} way to access the Simulink biomechanical model block from within my c-mex s-function, I'll probably end up using my function from the C++ .dll. I appreciate your response. |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Phil Goddard Date: 10 Jan, 2012 21:37:08 Message: 4 of 11 |
|
Does your biomechanical block need to be called both before _and_ after the controller (s-function) block? |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Phil Goddard Date: 10 Jan, 2012 21:47:08 Message: 5 of 11 |
|
The last sentence of my previous post is somewhat ambiguous. |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Kate J. Date: 10 Jan, 2012 22:45:09 Message: 6 of 11 |
|
Thanks so much for your detailed response, Phil. |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Rune Allnor Date: 10 Jan, 2012 22:52:19 Message: 7 of 11 |
|
On 10 Jan, 23:45, "Kate J." <kmj.w...@gmail.com> wrote: |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Kate J. Date: 10 Jan, 2012 23:07:08 Message: 8 of 11 |
|
Thanks for your input, Rune. I do have access to a high-performance computing cluster, but it won't be useful for the real-time human-interation data collection that I'll need to do. Your summary of the speed tradeoffs was useful. |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Rune Allnor Date: 10 Jan, 2012 23:31:13 Message: 9 of 11 |
|
On 11 Jan, 00:07, "Kate J." <kmj.w...@gmail.com> wrote: |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Phil Goddard Date: 11 Jan, 2012 00:05:08 Message: 10 of 11 |
|
Rune Allnor <allnor@tele.ntnu.no> wrote in message <b8d54d27-824e-4744-887d-3807bd2b9383@p16g2000yqd.googlegroups.com>... |
|
Subject: How to call Simulink model block from within c-mex s-function? From: Kate J. Date: 11 Jan, 2012 00:20:09 Message: 11 of 11 |
|
Thanks for the clarification, Phil. |
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. | 10 Jan, 2012 14:39:11 |
| simulink | Kate J. | 10 Jan, 2012 14:39:11 |
Contact us at files@mathworks.com
