Skip to Main Content Skip to Search
Product Documentation

Variable-Size Signal Limitations

The following table is a list of known limitations and workarounds.

LimitationWorkaround
Array format logging does not support variable-size signals.Use a structure or a structure with time format for logging variable-size signals.
Right-click signal logging does not support variable-size signals.Use a To Workspace block or a root Outport block for logging variable-size signals.
A frame-based variable-size signal cannot change the frame length (first dimension size), but it can change the second dimension size (number of channels). Using frame-based signals requires DSP System Toolbox software.Use the Frame Conversion block to convert a signal into sample-based signal.
Variable-size signals must have a discrete sample time.
A scalar signal (width equals 1) cannot be a variable-size signal because the maximum size is 1.
Embedded Coder does not support variable-size signals with ERT S-functions, custom storage classes, function prototype control, the AUTOSAR, C++ interface, and the ERT reusable code interface.
Simulink does not support variable-size parameter or DWork vectors.
Rapid accelerator mode does not support models having root-level input ports with variable-size signals.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS