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?

Antworten (1)

Paul
Paul am 16 Mär. 2026 um 19:25

0 Stimmen

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.

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023a

Gefragt:

am 16 Mär. 2026 um 12:20

Beantwortet:

am 16 Mär. 2026 um 19:25

Community Treasure Hunt

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

Start Hunting!

Translated by