Main Content

specifyInput

Assign HDL input ports to cosimulation block or System object

Since R2022b

    Description

    specifyInput(cosimConfigObj,name) explicitly maps the HDL port named name as an input in the generated block or System object™.

    specifyInput(__ ,name,[]) clears the definition for the input port (or ports) specified in name. For example: specifyInput(c,'in1',[]) clears the definition for the input named in1 in the InputDataPorts table.

    Input Arguments

    collapse all

    Cosimulation configuration, specified as a cosimulationConfiguration object.

    Name of the HDL port to map as an input in the generated HDL Cosimulation block or hdlverifier.HDLCosimulation System object, specified as a string or a character vector. For multiple inputs, specify a cell array of port names.

    Example: 'data'

    Example: {'in1','in2','in3'}

    Data Types: char | string

    Version History

    Introduced in R2022b