Simulink error in model with Vehicle Dynamics Blockset
4 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!