How to create a Serial port communication mex file in C++ to use in MATLAB?

9 vues (au cours des 30 derniers jours)
Tharindu Weerakoon
Tharindu Weerakoon le 23 Jan 2015
Dear all,
I am looking for using mex file written in VS C++ for serial port communication to make it fast in MATLAB.
I want to know how to write a relevant C++ code for serial port read/write and make a mex file and how can I access in MATLAB to read and write the data.
If anyone knows this let me know.
Cheers.

Réponses (0)

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by