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

7 views (last 30 days)
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,

Answers (1)

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

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!