?? check1.m
字號(hào):
%CHECK script to compare M-file and MEX-file versions of RNE% load the model and remove non-linear frictionrdh = nofriction(rdh, 'coulomb');rmdh = nofriction(rdh, 'coulomb');% number of trialsn = 10;fprintf('************************ normal case *****************************\n')args = {};fprintf('DH: ')check2(rdh, n, args);fprintf('MDH: ')check2(rmdh, n, args);fprintf('************************ no gravity *****************************\n')args = {[0 0 0]};fprintf('DH: ')check2(rdh, n, args);fprintf('MDH: ')check2(rmdh, n, args);fprintf('************************ ext force *****************************\n')args = {[0 0 9.81], [10 10 10 10 10 10]'};fprintf('DH: ')check2(rdh, n, args);fprintf('MDH: ')check2(rmdh, n, args);
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -