Build for Monitoring option not available when using a reference configuration

I have a model targeting a C2000 processor configured for XCP over CAN
In our development of the application we are using the 'Build for monitoring' option to generate a .A2L with the transport layer included so that we can test with 3rd party tools
This works fine if the model configuration is in the model, but as soon as I move it to a data dctionary as a referenced configuration.
When I do this, the 'Build for Monitoring' option is no longer available.
Is anyone aware of the reason for this?
The model will have referenced models/subsystems so having a referenced configuration is going to be important

 Réponse acceptée

Hello,
This behavior is expected when you switch to a referenced configuration (via data dictionary). In Simulink, a configuration reference points to an external configuration set, and in this mode certain UI-triggered build actions (like “Build for Monitoring”) are not exposed directly in the model because the configuration parameters are controlled externally and the dialog options become restricted or disabled. Set Model Configuration Parameters for a Model - MATLAB & Simulink
Since “Build for Monitoring” is tied to code generation and target-specific configuration settings, it depends on parameters inside the active configuration set. With a referenced configuration, these parameters are no longer editable or fully surfaced at the model level, which is why the option disappears from the toolstrip. Code Generation Configuration - MATLAB & Simulink
Practically, this means the feature is not removed, but not available through the UI when using configuration references. The typical workaround is to perform code generation using the referenced configuration or temporarily switch back to a local configuration set when you need to use the “Build for Monitoring” workflow (e.g., to generate the A2L for XCP over CAN).
Hope this helps.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Produits

Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by