Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

多核处理器目标

为部署在多核系统或 FPGA 系统上的并行执行系统建模

多核编程,或者说并行执行建模,可以帮助您创建并行系统,以便部署到多核处理器和多处理器系统中。此类系统的示例包括信号处理和被控对象-控制系统。Simulink® 分区和映射技术可以帮助您解决设计并行执行系统时常见的难题。

图中显示了一个示例系统,其中的多个功能便是针对在基于 CPU 和 FPGA 的多处理器系统上执行而设计的。该系统被分成多个组件,它们被映射到 CPU 任务计划程序或 FPGA。

要了解多核编程的基础知识,请参阅Concepts in Multicore Programming。有关如何在 Simulink 中设计并行执行系统的信息,请参阅使用 Simulink 进行多核编程

函数

Simulink.architecture.configCreate or convert configuration for concurrent execution
Simulink.architecture.addAdd tasks or triggers to selected architecture of model
Simulink.architecture.deleteDelete triggers and tasks from selected architecture of model
Simulink.architecture.find_systemFind objects under architecture object
Simulink.architecture.get_paramGet configuration parameters of architecture objects
Simulink.architecture.importAndSelectImport and select target architecture for concurrent execution environment for model
Simulink.architecture.profileGenerate profile report for model configured for concurrent execution
Simulink.architecture.registerAdd custom target architecture to concurrent execution target architecture selector
Simulink.architecture.set_paramSet architecture object properties

对象

Simulink.GlobalDataTransferConfigure concurrent execution data transfers

主题

了解 Simulink 中的多核编程

配置您的模型

Simulink 中实现并行机制

代码生成