Open code execution profiling report and specify display of time measurements.
report(
myExecutionProfile
)
report(myExecutionProfile
,
Name1, Value1, Name2, Value2, ...)
report(myExecutionProfile
,
'Units', 'Seconds', 'ScaleFactor', '1e-06', 'NumericFormat', '%0.3f')
report(
opens
the code execution profiling report using default display options.myExecutionProfile
)
report(
opens the report with
display options specified by the name-value character vector pairs.myExecutionProfile
,
Name1, Value1, Name2, Value2, ...)
report(
displays time in microseconds (10-6 seconds)
with a precision of three decimal places.myExecutionProfile
,
'Units', 'Seconds', 'ScaleFactor', '1e-06', 'NumericFormat', '%0.3f')
myExecutionProfile
is a workspace
variable that you create using getCoderExecutionProfile
.
Name-Value Pair | Details |
---|---|
'Units' , 'Seconds' or 'Units' , 'Ticks' |
Time measurements displayed in seconds or timer ticks. Default:
|
'ScaleFactor' , Value |
Scale factor for displayed measurements. For example, to
display measurements in microseconds, use the name-value pair
To specify the scale factor, you must also specify
|
'NumericFormat' , Convention |
Numeric format for displayed measurements. Use the
decimal convention utilized by the
ANSI® C function To specify the numeric format, you must also specify
|