I have a top model containing a model reference block. The outport block inside the reference model is set to be a virtual bus. When I simulate my model, I receive the following error:
Ports and parameters must match between Model block 'top_model/Model' and referenced model 'ref_model'. Refresh the Model block or revert the changes to the referenced model. Caused by: 'Output Port 1' of Model block 'top_model/Model' has "OutputPortOutputBusAsStructs" set to "on". The referenced model, 'ref_model', has "OutputPortOutputBusAsStructs" set to "off" for this port.
Best Answer