函数或变量 'eul_ang_calcu' 无法识别#函数无法识别。

load temp.dat
No_ele = max(temp(:,2));
No_integ = max(temp(:,3));
No_incr = max(temp(:,1));
disp(['The total increments of the simulation is: ',num2str(No_incr)]);
Incre_No = input('Please Enter the Increament No. which you want analysis:','s');
Incre_No = str2num(Incre_No);
[ii_x,ii_y]=find (temp(:,1)==Incre_No);
lo_last = length(ii_x);
%data = temp ((Incre_No-1)*No_ele*No_integ*2+1:Incre_No*No_ele*No_ele*No_integ*2,:);
data = temp(ii_x(lo_last)-No_ele*No_integ+1:ii_x(lo_last),:);
leng_data = size(data);
leng_data = leng_data(1);
for i=1:leng_data
aaa = data(i,7:9);
bbb = data(i,10:12);
eul_ang = eul_ang_calcu(aaa,bbb);
Eul_Ang(i,:) = eul_ang;
end
出现 函数或变量 'eul_ang_calcu' 无法识别 应该怎么解决呀?
求各位大佬告知!我用的是matlab2020b

 採用された回答

0 投票

你这个eul_ang_calcu应该是一个自定义的函数。要保证这个函数文件在你的文件目录里才行。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange启动和关闭 についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!