|
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)))));/ _4 B% ]& E( r9 B
* G% I2 w/ r, a" p$ \[color=rgb(51, 102, 153) !important]复制代码$ Y6 e. q% i4 ?! d& m) f
# b6 |) f' B2 v. g# W
0 R2 H2 x/ L) a8 u1 d+ y这一句出现问题
! [' r: S+ o8 I4 Q- t=S/2*(1+1/lb-(cosd(phi)+1/lb(1-sqrt(1-lb.*lb.*sind.(phi)*sind(phi)))));+ y5 l& j( M; `4 A8 g
7 L4 r/ ?* P4 Y0 q. R
[color=rgb(51, 102, 153) !important]复制代码" J- b0 B& ]) t* _/ e( w
. |& ]0 Y6 a* S- L1 V. O9 L
错误信息如下,- x. R" _- n8 |. ^9 o
??? Argument to dynamic structure reference must evaluate to a valid field name: ]2 R B q0 T5 B% d
|
|