C++ code converting into Simulink

1 次查看(过去 30 天)
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?

回答(1 个)

Ayush Modi
Ayush Modi 2024-4-19
编辑:Ayush Modi 2024-4-19
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:

类别

Help CenterFile Exchange 中查找有关 Call C++ from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by