Using external interface along with model referencing
Show older comments
I have a relatively large model and have tried to use model referencing. I have a target for which i generate and compile code and this seems to work.
However, i have problems getting the external interface to work (Connecting to target). I can connect, but i can only see values for the main model. The referenced models does not go external, when connecting.
Is this expected or is there a way to use external mode with referenced models?
Accepted Answer
More Answers (2)
Casper Lyngesen Mogensen
on 8 Aug 2011
0 votes
René
on 24 Aug 2011
0 votes
I also experienced the same problem. I am using dSPACE and without having the possibility to tune the parameters real-time, I cannot use dSPACE for tuning my controllers (for a air pressure controller). This is really annoying, because I adapted my model to use model referencing instead of libraries, to have some advantages with embedded code generation. But this is a real show stopper!
I guess I will have to build my model back to use libraries and accept the disadvantages for setting up a C++ interface description.
Regards,
René
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!