哈工大_机械设计_大作业_v带传动电算报告(编辑修改稿)内容摘要:
popupmenu5 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = cellstr(get(hObject,39。 String39。 )) returns popupmenu5 contents as cell array % contents{get(hObject,39。 Value39。 )} returns selected item from popupmenu5 % Executes during object creation, after setting all properties. function popupmenu5_CreateF(hObject, eventdata, handles) % hObject handle to popupmenu5 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 amp。 isequal(get(hObject,39。 BackgroundColor39。 ), get(0,39。 defaultUicontrolBackgroundColor39。 )) set(hObject,39。 BackgroundColor39。 ,39。 white39。 )。 end % Executes on selection change in popupmenu4. function popupmenu4_Callback(hObject, eventdata, handles) % hObject handle to popupmenu4 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = cellstr(get(hObject,39。 String39。 )) returns popupmenu4 contents as cell array % contents{get(hObject,39。 Value39。 )} returns selected item from popupmenu4 % Executes during object creation, after setting all properties. function popupmenu4_CreateF(hObject, eventdata, handles) % hObject handle to popupmenu4 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 amp。 isequal(get(hObject,39。 BackgroundColor39。 ), get(0,39。 defaultUicontrolBackgroundColor39。 )) set(hObject,39。 BackgroundColor39。 ,39。 white39。 )。 end % Executes on selection change in popupmenu6. function popupmenu6_Callback(hObject, eventdata, handles) % hObject handle to popupmenu6 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = cellstr(get(hObject,39。 String39。 )) returns popupmenu6 contents as cell array % contents{get(hObject,39。 Value39。 )} returns selected item from popupmenu6 % Executes during object creation, after setting all properties. function popupmenu6_CreateF(hObject, eventdata, handles) % hObject handle to popupmenu6 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 amp。 isequal(get(hObject,39。 BackgroundColor39。 ), get(0,39。 defaultUicontrolBackgroundColor39。 )) set(hObject,39。 BackgroundColor39。 ,39。 white39。 )。 end % Executes on selection change in popupmenu8. function popupmenu8_Callback(hObject, eventdata, handles) % hObject handle to popupmenu8 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hints: contents = cellstr(get(hObject,39。 String39。 )) returns popupmenu8 contents as cell array % contents{get(hObject,39。 Value39。 )} returns selected item from popupmenu8 % Executes during object creation, after setting all properties. function popupmenu8_CreateF(hObject, eventdata, handles) % hObject handle to popupmenu8 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles empty handles not created until after all CreateFs called % Hint: popupmenu controls usually have a white background on Windows. % See ISPC and COMPUTER. if ispc amp。 amp。 isequal(get(hObject,39。 BackgroundColor39。 ), get(0,39。 defaultUicontrolBackgroundColor39。 )) set(hObject,39。 BackgroundColor39。 ,39。 white39。 )。 end % Executes on button press in checkbox1. function checkbox1_Callback(hObject, eventdata, handles) % hObject handle to checkbox1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hint: get(hObject,39。 Value39。 ) returns toggle state of checkbox1 % Executes on button press in checkbox2. function checkbox2_Callback(hObject, eventdata, handles) % hObject handle to checkbox2 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hint: get(hObject,39。 Value39。 ) returns toggle state of checkbox2 % Executes on button press in checkbox3. function checkbox3_Callback(hObject, eventdata, handles) % hObject handle to checkbox3 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Hint: get(hObject,39。 Value39。 ) returns toggle state of checkbox3 % Executes during object creation, after setting all properties. function pushbutton1_Callback(hObject, eventdata, handles) % hObject handle to pushbutton1 (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) global Pd yilei erlei chuandongbi zhuansu TYPE Dd2array Dd1 Dd2 TABLEPOS HEADMES。 for i=1:1 p=get(,39。 string39。 )。 n1=get(,39。 string39。 )。 cd=get(,39。 string39。 )。 gonglv=eval(p)。 %195。 210。 229。 185。 166。 194。 202。 zhuansu=eval(n1)。 chuandongbi=eval(cd)。 %180。 171。 182。 175。 177。 200。 GZJ=get(,39。 value39。 )。 YDJ=get(,39。 value39。 )。 SJ=get(,39。 value39。 )。 if(YDJ==1||YDJ==3||YDJ==4||YDJ==6) leibie=1。 else leibie=2。 end if(leibie==1) Ka=yilei(GZJ,SJ)。 else Ka=erlei(GZJ,SJ)。 end。 check1=get(,39。 value39。 )。 check2=get(,39。 value39。 )。 check3=get(,39。 value39。 )。 gongzuochanghe=check1|check2|check3。 if(gongzuochanghe==1) Ka=Ka*。 end Pd=Ka*gonglv。 xianshi=sprintf(39。哈工大_机械设计_大作业_v带传动电算报告(编辑修改稿)
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。
用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。