C_Code_Integration

版本 5.0 (40.2 MB) 作者: Sebastien Dupertuis
C Code Integration in MATLAB and Simulink to Control an External Interface.
776.0 次下载
更新时间 2024/2/20

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.

引用格式

Sebastien Dupertuis (2024). C_Code_Integration (https://github.com/mathworks/C_Code_Integration/releases/tag/V5.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
与 R2019b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Embedded Coder Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

MATLAB/Components/UnitTesting

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
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

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库