This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
Brandon Robertson
Brandon Robertson on 14 Jun 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

Ankita Nargundkar
Ankita Nargundkar on 21 Jun 2017
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.

Community Treasure Hunt

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

Start Hunting!