You can improve simulation throughput for MATLAB® functions using the
to generate a multi-threaded MEX file.
In Simulink®, Dataflow domains automatically partition your model and simulate the system using multiple threads. By adding algorithmic latency to your system, you can further increase concurrency and improve simulation throughput of your model.
|Dataflow Subsystem||Subsystem whose execution domain is set to Dataflow|
This section discusses the recommended workflow of generating the multithreaded MEX and verifying the results using the analyzer.
This example shows how to use the
function to generate a multithreaded MEX file from a MATLAB function using unfolding technology.
Accelerate signal processing algorithm with
This page should detail the users on when to use dspunfold and when to use parfor.
Simulate a subsystem using synchronous dataflow.
Types of parallelism. Simulation and code generation of dataflow domains using multiple threads.
Use a Dataflow Subsystem to automatically calculate frame sizes in multirate systems.
This section discusses the example where the state length depends on the input which causes verification failure. Debugging steps are also included.
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.