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?

 采纳的回答

James Tursa
James Tursa 2017-9-8

0 个投票

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Profile and Improve Performance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by