Why do I receive an error regarding initialization commands when I run my model in SimDriveline 1.0.2 (R14SP2)?

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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."

More Answers (0)

Categories

Find more on Simscape Driveline in Help Center and File Exchange

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!