Simulink error in model with Vehicle Dynamics Blockset

조회 수: 10 (최근 30일)
Jakub Pawlak
Jakub Pawlak 2018년 7월 14일
답변: Ryan Chladny 2018년 12월 18일
Hello Friends! I am new to Simulink and need some pointers on how to handle an error I'm getting when trying to use the 3DOF vehicle model from the Vehicle Dynamics Blockset. I get the following errors when trying to run the sim:
Invalid dimensions specified for input port U of 'planar_model/Vehicle Body 3DOF Dual Track/Signal Routing/Signal Routing Dual/state2bus/Selector1'. The dimensions indicate that the width of dimension 1 of the input is 4 even though the parameter 'Indices' indicates that the width of dimension 1 of the input is at least 6 Component:Simulink | Category:Model error Error in port widths or dimensions. Output port 1 of 'planar_model/Vehicle Body 3DOF Dual Track/Signal Routing/Signal Routing Dual/state2bus/y' is a one dimensional vector with 4 elements. Component:Simulink | Category:Model error
I'm very grateful for your help. I have attached the model files in this post.

채택된 답변

Ryan Chladny
Ryan Chladny 2018년 12월 18일
Hi Jakub,
I was able to reproduce the issue in 18a Update 5 but could resolve it by taking the local individual wheel speeds from the vehicle Info Bus (rather than using the vehicle CG velocity). I'm not entirely certain of the root cause but it might be good to bring it up with our Technical Support team next time so we can address it more quickly and thoroughly.
Good luck and best regards,
Ryan Chladny

추가 답변 (0개)

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by