How do I use code in C in matlab?

I want to write a program in which I simulate the lap racing time of a vehicle. As I'm better at writing in C compared to matlab I decided to do it in Matlab. However, I want to output my values in a graph which I know Matlab is good at. How do I implement my code in C (written in CodeBlocks btw) in Matlab?

 Respuesta aceptada

James Tursa
James Tursa el 8 de Sept. de 2017

0 votos

You could start with the mex doc:
There are several examples in the doc. You can also find example mex routines in the FEX.

Más respuestas (0)

Etiquetas

Preguntada:

el 8 de Sept. de 2017

Respondida:

el 8 de Sept. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by