|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
- [filename,pathname]=uigetfile('C:\Users\Administrator\Desktop\2.txt','select file');
- str_filename=[pathname,filename];
- [p_ori,p_orj]=textread(str_filename,'%s%s');
- p_orj=str2num(char(p_orj));
- p=smoothly2(p_orj);
- phi=-180:180;
- S=2;
- L=2.05;
- lb=S/2*L;
- t=S/2*(1+1/lb-(cosd(phi)+1/lb(1-sqrt(1-lb.*lb.*sind.(phi)*sind(phi)))));
9 h. c; s# t4 A ( t2 @1 }7 c5 i2 ~5 N3 |+ v* T
[color=rgb(51, 102, 153) !important]复制代码
$ k2 A1 L- K( G4 }7 l6 b: G, K; ?% `
9 K1 R% m7 J4 v
! H! c" L2 _: K! T) _这一句出现问题 c. Q* f+ q' T' s
- t=S/2*(1+1/lb-(cosd(phi)+1/lb(1-sqrt(1-lb.*lb.*sind.(phi)*sind(phi)))));7 C2 M/ [, P* Q* _) a" n$ O
0 X' l7 y5 ]4 B
[color=rgb(51, 102, 153) !important]复制代码
3 S! i1 ]2 @' u! `. W8 ]+ N( d0 r6 M9 [# w, ?
错误信息如下,
% W* ?$ f& @) g+ p d& \??? Argument to dynamic structure reference must evaluate to a valid field name1 k# x$ w) X, v' y" _- r& s
|
|