properties(Nontunable, Constant)
FreezingPointFahrenheit = 32;
end
Add Method to Validate Inputs
(^1) Open a new or existing System object.
(^2) In the MATLAB Editor, select Insert Method > Validate inputs.
The MATLAB Editor inserts this code into the System object:
function validateInputsImpl(obj,u)
% Validate inputs to the step method at initialization
end
See Also
Related Examples
- “Analyze System Object Code” on page 34-77
34 System object Usage and Authoring