主要内容

DSP 算法加速

使用数据流多线程或生成的 MEX 函数加速

通过使用 dspunfold 函数生成多线程 MEX 文件,您可以提高 MATLAB® 函数的仿真吞吐量。

在 Simulink® 中,数据流域自动对您的模型进行分区,并使用多个线程对系统进行仿真。通过向系统添加算法延迟,您可以进一步提高并发性并改进模型的仿真吞吐量。

函数

dspunfoldGenerates a multi-threaded MEX file from a MATLAB function
codegenMATLAB 代码生成 C/C++ 代码

模块

Dataflow SubsystemSubsystem whose execution domain is set to Dataflow

主题

展开

数据流

疑难解答

Why Does the Analyzer Choose the Wrong State Length?

This section discusses the example where the state length depends on the input which causes verification failure. Debugging steps are also included.

Why Does the Analyzer Choose a Zero State Length?

This section discusses the example where the input does not have an immediate effect on the output. Hence, state length of 0 is considered in spite of the algorithm containing states.

精选示例