数控技术-直线插补matlab.pdfVIP

  • 8
  • 0
  • 约2.69千字
  • 约 3页
  • 2020-09-12 发布于浙江
  • 举报
do it by yourself!CUP function Path_pushbutton_Callback(hObject, eventdata, handles) % hObject handle to Path_pushbutton (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) a = str2num(get(handles.Begin_edittext,String));%strnum±íʾÊý×éÓÉ×Ö·ûÐÍת »»³ÉÊý×ÖÐÍ b = str2num(get(handles.Termin_edittext, String)); h = str2num(get(handles.Length_Edittext, String));%±íʾ²½³¤ x=[a(1),b(1)];%Ï൱ÓÚ [x0,xe] y=[a(2),b(2)];%¸ã°ëÌìÖ»ÒªÕâÑù¾Í¿ÉÒÔÁËߣ¬ÍÛ¹þ¹þ axes(handles.axes1); plot(x,y); hold on;

文档评论(0)

1亿VIP精品文档

相关文档