C_Code_Integration

C Code Integration in MATLAB and Simulink to Control an External Interface.
873 Descargas
Actualizado 20 feb 2024

The goal of this demo is to showcase integration of C code in MATLAB and Simulink. A C# interface of a parking meter has some emulated HW registers that can be accessed through a shared memory area in Windows. The low level C drivers are used in MATLAB and Simulink via respectively MEX and C-Caller or S-Function import mechanisms. The algorithms in MATLAB and Simulink control the C# App that is just used as a user interface without any intelligence. C code generation can be done out of the entire MATLAB and Simulink projects to build standalone executables. In the MATLAB implementation, there is also the possibility to use an App of the parking Meter done with the App Designer.

Citar como

Sebastien Dupertuis (2025). C_Code_Integration (https://github.com/mathworks/C_Code_Integration/releases/tag/V5.0), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2019b
Compatible con cualquier versión desde R2019b
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Embedded Coder Supported Hardware en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!

MATLAB/Components/UnitTesting

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
5.0

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V5.0

4.2

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V4.2

4.1

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V4.1

4.0

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V4.0

3.0

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V3.0

2.1.0.0

See release notes for this release on GitHub: https://github.com/mathworks/C_Code_Integration/releases/tag/V2.1

2.0

Added of a Stateflow for MATLAB implementation as well as a model-based design approach using System Composer.

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.