How to show a constant value in a Simulink report as both a numeric value and a parameter name?

4 vues (au cours des 30 derniers jours)
Hi,
In a Simulink System Design Description Report I'm trying to display the value of a constant block as both a numeric value and the parameter name that drives the constant block.
Using the Simulink Property Table I am able to display the numeric value using this snippet:
%<Value>
Is there a way to display the parameter name as well?
In my example a constant block would have the value set to something such as constantVal1 and then constantVal1 would be defined in the base workspace or something similar.
Thank you,

Réponses (1)

Dan Granger
Dan Granger le 16 Sep 2015
Solve my own problem. Used Simulink Functions and Variables Component instead of Simulink Property Table Component.

Catégories

En savoir plus sur Reporting and Database Access dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by