Combined Slip Wheel 2DOF block in Vehicle dynamics block set is not able to call 'magic tire const input' function.
6 次查看(过去 30 天)
显示 更早的评论
I am building a bicycle model of a car and I am using combined slip wheel 2DOF block for modelling tire in there. I have given all the needed inputs for the block but the block throws an error
- Index expression out of bounds. Attempted to access element 2. The valid range is 1-1. More informationP-code function 'vdyncsmtire.p' produced an error.
- Function call failed. Function 'Magic Tire Const Input/Magic Tire Const Input' (#702.2922.5758), line 194, column 1: "[Fx,Fy,FzTire,Mx,My,Mz,Re,Kappa,Alpha,sig_x,sig_y,a,b] = vdyncsmtire(Omega,Vx,Vy" Launch diagnostic report.
and as a result most of the output parameters are not being calculated.
0 个评论
回答(1 个)
Nishan Nekoo
2024-1-25
编辑:Nishan Nekoo
2024-1-25
Hi Lokesh, I know this is a little late so you probably are not facing this issue anymore. I apologize that you did not receive a response sooner.
For reference, I would recommend using the Virtual Vehicle Composer to build your bicycle models of vehicles. Here is a video demonstration of this: https://www.youtube.com/watch?v=qKxB6k9VZ78&ab_channel=MATLAB
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vehicle Dynamics Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!