Main Content

设备驱动程序

Device drivers that communicate with target hardware are essential to many real-time development projects.

You can integrate existing C (or C++) device driver functions into Simulink®models by using the Legacy Code Tool. When you use the code generator to generate code from a model, the Legacy Code Tool can insert a call to your C function into the generated code. For details, seeImport Calls to External Code into Generated Code with Legacy Code ToolandIntegrate C Functions into Simulink Models with Legacy Code Tool.

Related Topics