Syntax

[matched_inports, matched_outports, unmatched_inports, unmatched_outports] = rtobj.checkCompliance

Output Arguments

matched_inports
Cell array of the inport/source blocks in the model that m
itemvalue
Value you wish to set. Item value must be numeric.

Description

checkCompliance is a method of the simwb.rtobj object. The method will check the model compliance with the seletected RTDB. In order for the model to be compliant with the RTDB, the model inports and outports should map to their corresponding RTDB variables. The Simulink model source and sinks blocks which are compliant with the corresponding RTDB variables will be able to access these variables in the selected RTDB and external hardware via the RTDB. The Source/Sink blocks for RTDB Compliance option, determines which source and sink blocks are checked for compliance. This checkCompliance method will output information about matched and unmatched inports and outports. The model compliance with a RTDB is automatically checked before code is generated for a Simulink model.

Example: rtobj_checkCompliance.m