www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/CreateLaserScanMessageUsingRostypeExample.m

    %% Create Laser Scan Message Using |rostype|

scan = rosmessage(rostype.sensor_msgs_LaserScan)