Custom C/C++ code block in Simulink Desktop Realtime

Hi,
I would like to access a serial device with a certain protocol where I already have a C++ class for. Is it possible to use this code with legacy code tool in Simulink Desktop Realtime?
Best regards,
Constantin

Community Treasure Hunt

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

Start Hunting!

Translated by