This paper presents an approach for integrating Asset Administration Shells (AASs) and Model-based systems engineering (MBSE) to meet the stricter demands of Industry 4.0 plants. This integration can enable a system to gather and analyze real-world data as well as to update the system model, leading to prolonged model life-time and increased utility. The proposed solution is a library developed using MATLAB/Simulink and BaSyx APIs, which provides a block that encapsulates the communication interface with a submodel stored inside a BaSyx AAS server. The authors used a hydraulic press simulation to validate the proposed solution and demonstrate how it can be used to implement condition monitoring capabilities.