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

7 visualizaciones (últimos 30 días)
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,

Respuestas (1)

Dan Granger
Dan Granger el 16 de Sept. de 2015
Solve my own problem. Used Simulink Functions and Variables Component instead of Simulink Property Table Component.

Categorías

Más información sobre Reporting and Database Access en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by