Rate Limiter in enabled subsystem

In the Rate Limiter documentation at "Extended Capabilities / C/C++ Code Generation" its mentioned, that this block can not be used inside a triggered subsystem hierarchy.
Can i use it in an enabled subsystem? Would this be any different?
Is there a similar block, that would work for code generation in enabled subsystems?

Answers (1)

Paul
Paul on 16 Mar 2026 at 19:25
I tried a Rate Limiter block inside an Enabled Subsystem and the simulation ran to completion in both Normal and Accelerator modes. Have to understand how that block works at the instant the subsystem is enabled, but that's a different question. I didn't try code generation if that means to generate code for an external application, but no reason to think that wouldn't work based on the doc page and the results under Accelerator mode.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Release

R2023a

Asked:

on 16 Mar 2026 at 12:20

Answered:

on 16 Mar 2026 at 19:25

Community Treasure Hunt

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

Start Hunting!