MATLAB: Do I receive an error regarding initialization commands when I run the model in SimDriveline 1.0.2 (R14SP2)

invalidmotionobjectsensorsimdrivelineSimscape Drivelinesimulink

I have a model made in a previous version of SimDriveline. I have Motion Sensor blocks whose links have been disabled. These blocks cause the following error message:
Initialization commands cannot be evaluated. MATLAB error message: Error using ==> get_param
Invalid Simulink object name: vehicle/Motion Sensor/p.

Best Answer

This behavior occurs because the Motion Sensor block port names were changed from Pos, Vel, and Acc to v, p, and a, respectively, for Release 14, Service Pack 2. The error occurs if you have broken the library link for this block prior to this change.
To correct the behavior, right-click on the Motion Sensor block, select "Restore Link," and choose "Use Library Block."