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.

Answers (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.

This question is closed.

Products

Asked:

on 14 Jun 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!