I'm working on powertrain blockset and vehicle dynamics blockset in simulink, and I'm trying to combine some features from both of them, to do so, I need to add/remove some inputs and outputs ports from some of the referenced subsystems in theses models. However, the error message I'm getting says that I cannot change the number of ports of the referenced subsystem, Like the following:
The number of input ports for variant block 'HevP2ReferenceApplication/Controllers/Powertrain Control Module (PCM)/Hybrid Control Module (HCM)/Rule-Based Control', exceed that of the Variant Subsystem block 'HevP2ReferenceApplication/Controllers/Powertrain Control Module (PCM)/Hybrid Control Module (HCM)'.
is there anyway to fix this issue, or how to de-reference the subsystem ?
Thank you.
Best Answer