I have been asked to output a model compatiable with AMESIM is that possible
7 views (last 30 days)
Show older comments
Michael Lallement
on 19 Jul 2019
Commented: Matthias Liermann
on 12 Jun 2025
I have a hydraulic actuation model simulation that I need to plug into a customers AMESIM model as a black box. Is that possible. If so, how do I do that? My system operates based on their hydraulic supply and return, and electrical control signal from 28 VDC sources, I would need to out put sensor indications from dicrest swtiches and actuator position as precent of stroke with some time step sync. In My current model I have simulated a standard Pump, resivior, system fluid interface and discrete 28 VDC source.
0 Comments
Accepted Answer
Hari Krishna Ravuri
on 2 Aug 2019
Hi,
I understand that you have a SIMULINK model and want to include in a Simcenter Amesim model.
“is that possible”
Yes, it is possible.
“If so, how do I do that?”
Using Simulink model in Amesim depends on the hardware on which you are going to deploy. If the hardware is compatible with both the Amesim and the imported Simulink model, then it is possible to use the Simulink model in Amesim. Simulink model cannot be imported directly into your Amesim model. To do that, you need to generate C-code for your Simulink model with the help of Simulink Code Generator. The C-code generated in such a way can be used in Amesim as a normal submodel. Please refer https://www.mathworks.com/help/dsp/ug/generate-c-code-from-simulink-model.htmlfor C code generation of a Simulink model.
1 Comment
Matthias Liermann
on 12 Jun 2025
We have a similar question. Your solution, Hari, proposes to generate C-Code from your model using the Simulink Code Generator. I can't share the C-Code with my partner because then I would reveal internal parameters that need to be kept confidential. Are there other ways to share Simulink Models as black box with AmeSim users without sharing source code? It should be possible to import FMUs into Amesim, shouldn't it? Is importing FMUs in Amesim a standard capability or an add-on, users have to pay for?
More Answers (0)
See Also
Categories
Find more on LEGO MINDSTORMS EV3 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!