Clear Filters
Clear Filters

C++ code converting into Simulink

1 view (last 30 days)
Maryam William Bahram
Maryam William Bahram on 19 Apr 2024
Edited: Ayush Modi on 19 Apr 2024
I have created a c++ code for a coffee veding machine but now I was to create a simulation for it using Simulink is there a way to do it?

Answers (1)

Ayush Modi
Ayush Modi on 19 Apr 2024
Edited: Ayush Modi on 19 Apr 2024
Hi Maryam,
You can use Simulink.CodeImporter class to import custom C++ code into Simulink for modeling, verification, and validation. To read about it, refer to the following MathWorks documentation:

Community Treasure Hunt

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

Start Hunting!