I am following this eg https://ww​w.mathwork​s.com/help​/uav/ug/mo​tion-plann​ing-with-r​rt-for-fix​ed-wing-ua​v.html and Matlab is showing ExampleHel​perUAVStat​eSpace not defined?

조회 수: 3 (최근 30일)
i have installed latest matlab update but i am not able to run the given example
ss = ExampleHelperUAVStateSpace("MaxRollAngle",pi/6,...
"AirSpeed",6,...
"FlightPathAngleLimit",[-0.1 0.1],...
"Bounds",[-20 220; -20 220; 10 100; -pi pi]);
after i run this part matlab is showing error undefined function,i have installed all toolboxes and my matlab is of latest version,kindly help

답변 (1개)

Remo Pillat
Remo Pillat 2021년 12월 11일
Hi Mukund,
The ExampleHelperUAVStateSpace is a class that is specific to the UAV motion planning example, so it's only available when the example is opened. Please run the following command to open the example:
openExample('uav/MotionPlanningWithRRTForAFixedWingUAVExample')
After that, the ExampleHelperUAVStateSpace should be on the MATLAB path.

카테고리

Help CenterFile Exchange에서 UAV에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by