MatLab Coder & Simulink Coder: Do they convert the custom functions used to C++ or do they reference the .m file

I am trying to get my function to work without someone needing MatLab. When I am converting a MatLab function to C++ and the function references another matlab function, do I have to convert the other function to C++ first and reference that.

回答(1 个)

C and C++ code generated in MATLAB ( assuming you are using Simulink Coder) are standalone and do not need access to MATLAB in anyway once generated.

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by