In simscape vehicle template, body is not getting apllied to truck amandla (3axle) configuration. It is showing errors, due to which I can't configure vehicle model
조회 수: 1 (최근 30일)
이전 댓글 표시
Unrecognized field name "Semi_Truck_Scalable".
Error in sm_car_vehcfg_setBody (line 10)
Vehicle.Chassis.Body = VDatabase.Body.(body_opt);
Error in sm_car_vehcfg/OverrideApplyButtonBodyPushed (line 1018)
evalin('base',str);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 410)
Error while evaluating Button PrivateButtonPushedFcn.
댓글 수: 0
답변 (1개)
Steve Miller
2021년 10월 20일
Hi Ameya - that is a bug in the UI, thank you for catching it.
It is passing the wrong argument to sm_car_vehcfg_setBody().
The command it should issue is
Vehicle = sm_car_vehcfg_setBody(Vehicle,'Truck_Amandla_3Axle')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Tires and Vehicles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!