how can i transfer my Simulink block to amesime

10 views (last 30 days)
hi dear...
I developed a fuzzy logic controller using MATLAB’s Fuzzy Logic Designer and implemented it within Simulink using the Fuzzy Logic Controller block. Currently, I aim to transfer this Simulink-based fuzzy controller into Amesim for further system-level simulation and integration.

Accepted Answer

Hitesh
Hitesh on 12 May 2025
Hi Ali,
I understand that you have a SIMULINK model and want to include in a Simcenter Amesim model. Using Simulink model in Amesim depends on the hardware on which you are going to deploy. You need to ensure that the hardware is compatible with both the Amesim and the imported Simulink model. 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. Kindly refer https://www.mathworks.com/help/dsp/ug/generate-c-code-from-simulink-model.html for C code generation of a Simulink model.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!