clear all
close all
%Set up field
figure(‘position’, );
axis();
axis square
grid on
grid minor
hold on
%User defined constants 用户自定义变量
XSTART = 30;%机器人起始点
YSTART = 3……
xlsread函数
num = xlsread(filename)
num = xlsread(filename,sheet)
num = xlsread(filename,xlRange)
num = xlsread(filename,sheet,xlRange)
举例
表格文件名为‘C:\hehe.xls’
也可选择性读取,比如想读取 ...……