ROS with Matlab¶ Overview¶ ROS Toolbox: Design, simulate, and deploy ROS-based applications ROS与Matlab入门教程 ExampleHelperRobotSimulator¶ Matlab% 启动ROS rosinit % 创建模拟器 robotsim = ExampleHelperRobotSimulator; % 启用ROS接口 enableROSInterface(robotsim, true); % 启用激光传感器 enableLaser(robotsim, true); % 绘制机器人轨迹 showTrajectory(robotsim, true); % 关闭模拟器 delete(robotsim) % 关闭ROS rosshutdown