Main Content

jc_0645: Parameter definition for calibration

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a

MATLAB Versions



Sub ID a

Block parameters that are targets of calibration shall be defined as named constants. Examples of parameters that are outside of the calibration target include:

  • Initial value parameter 0

  • Increment, decrement 1

  • Arithmetic expressions

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect


Sub ID a:

  • A literal constant in the model will propagate as a literal constant in the generated code, making calibration impossible.


Model Advisor check: Check if tunable block parameters are defined as named constants (Simulink Check)

Last Changed


Version History

Introduced in R2020a