https://es.mathworks.com/help/hdlverifier/ref/hdlverifier.hdlcosimulation-system-object.html
hdlverifier.HDLCosimulation - Create a System object for HDL cosimulation with MATLAB - MATLAB
The hdlverifier.HDLCosimulation System object cosimulates MATLAB and a hardware component, use the Cosimulation Wizard to create a customized object.
createsystem