|
|
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)))));
: x! `% @' p* e# t+ |0 K
6 F i6 V, R2 r$ r1 R7 M[color=rgb(51, 102, 153) !important]复制代码6 ] \" l9 }# O
6 r- m+ M( a! A
7 C" j, y% _" s x这一句出现问题
2 q! E% s3 S: `5 g8 J: Z& z+ S- t=S/2*(1+1/lb-(cosd(phi)+1/lb(1-sqrt(1-lb.*lb.*sind.(phi)*sind(phi)))));
+ P; Q4 G% Y2 A* v$ Y$ \
+ m2 M3 j4 p# l[color=rgb(51, 102, 153) !important]复制代码8 H- {' ?3 H7 f9 s3 [% N. O- o
8 n6 E/ ^& S$ R3 [. ^; Z
错误信息如下,4 K6 Z( B; d* t. g, r
??? Argument to dynamic structure reference must evaluate to a valid field name
& N; H% q L: d( h2 j |
|