为什么我会收到”BLAS 加载错误: C:MATLAB7binwin32atlas_Athlon.dll: 找不到指定的模块。”,我下载的是Matlab2024a(D盘中),以前下载过另一款MATLAB(C盘)但删除了
clear
m0=1;
lamda=532*10^(-9);%lamda=[417,457,488,532,632.8]*10^(-9); %光束波长
z=50;%z=eps+[0:5:50]; %传播距离
R=0.03;%接受孔径的半径
A0=10;%光束功率常数
det=0.01:0.01:0.15; %横向相干长度
L=[1,5,10,20,30];%光总数指数
e=1*10^(-5);%e=[0.01,0.1,1,10,100]*10^(-5);%动能耗散率
X=1*10^(-8);% 温度耗5散
eta=0.001;% 内尺度因子
abc=3;%各项异性子
gama=-3;%温度盐度贡献比
NUM=10;
m=m0-NUM:1:m0+NUM;
k=2*pi/lamda;
for iiii=1:length(L)
C0=0;
for ll=1:L(iiii)
C0=C0+factorial(L(iiii))/factorial(ll)/factorial(L(iiii)-ll)*(-1)^(ll-1)/ll;
end
for iii=1:length(det)
for ii=1:length(m)
qtemp=0;
funt1=pi^2/(k*z)*(factorial(m0)*A0)^2/C0;
rouc2=8.705*10^(-8)*k^2*(e*eta)^(-1/3)*abc^(-2)*X*z*(1-2.605*gama^(-1)+7.007*gama^(-2));
for lll=1:L(iiii)
funt2=factorial(L(iiii))/(factorial(lll)*factorial(L(iiii)-lll))*(-1)^(lll-1)/lll;
fun=@(r) r.*funt1.*funt2.*(besselj(m0./2,k./4./z.*r.^2)).^2.*exp(-r.^2*(1./(lll.*det(iii).^2)+2.*rouc2))…
.*besseli(m(ii)-m0,(1./(lll.*det(iii).^2)+2.*rouc2).*r.^2);
qtemp=qtemp+integral(fun,0,R);
end
q(ii)=qtemp;
end
P(iiii,iii)=q(NUM+1)/sum(q);
end
end
figure
plot(det,P(1,:),’rs-‘);hold on
plot(det,P(2,:),’b+-‘);hold on
plot(det,P(3,:),’c*-‘);hold on
plot(det,P(4,:),’md-‘);hold on
plot(det,P(5,:),’g^-‘);
legend(‘L=1′,’L=5′,’L=10′,’L=20′,’L=30’)
%legend(‘λ=417nm’,’λ=457nm’,’λ=488nm’,’λ=532nm’,’λ=632.8nm’)
%legend(‘e=10^{-5}’,’e=3*10^{-5}’,’e=5*10^{-5}’,’e=7*10^{-5}’,’e=9*10^{-5}’)
xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
axis([0.01,0.15,0.35,0.85]);hold on
demo1 = 0.35:0.1:0.85;
demo2 = [0.01,0.03,0.06,0.09,0.12,0.15];%demo2 = 0.01:0.02:0.1;
set(gca,’yTick’,demo1)
set(gca,’xTick’,demo2)
%xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
%axis([0.01,0.1,0.35,0.85]);hold on
%demo1 = 0.35:0.1:0.85;
%demo2 = 0.01:0.02:0.1;
%set(gca,’yTick’,demo1)
%set(gca,’xTick’,demo2)
% [X0,Y0] = meshgrid(lamda,det);
% figure,surf(X0,Y0,P)
% %figure,bar3(P)
% xlabel(‘lamda’);ylabel(‘det’);zlabel(‘P_{m_{0}}’);hold on
>> MHBew_beamindex_hengxiangxiangganchagndu
BLAS: trying environment BLAS_VERSION…
BLAS: loading C:MATLAB7binwin32atlas_Athlon.dll
BLAS: unloading libraries
错误使用 *
BLAS 加载错误:
C:MATLAB7binwin32atlas_Athlon.dll: 找不到指定的模块。
出错 integralCalc>iterateScalarValued (第 330 行)
x = NODES*halfh + midpt; % NNODES x nsubs
出错 integralCalc>vadapt (第 148 行)
[q,errbnd] = iterateScalarValued(u,tinterval,pathlen, …
出错 integralCalc (第 77 行)
[q,errbnd] = vadapt(vfunAB,interval, …
出错 integral (第 87 行)
Q = integralCalc(fun,a,b,opstruct);
出错 MHBew_beamindex_hengxiangxiangganchagndu (第 36 行)
qtemp=qtemp+integral(fun,0,R);clear
m0=1;
lamda=532*10^(-9);%lamda=[417,457,488,532,632.8]*10^(-9); %光束波长
z=50;%z=eps+[0:5:50]; %传播距离
R=0.03;%接受孔径的半径
A0=10;%光束功率常数
det=0.01:0.01:0.15; %横向相干长度
L=[1,5,10,20,30];%光总数指数
e=1*10^(-5);%e=[0.01,0.1,1,10,100]*10^(-5);%动能耗散率
X=1*10^(-8);% 温度耗5散
eta=0.001;% 内尺度因子
abc=3;%各项异性子
gama=-3;%温度盐度贡献比
NUM=10;
m=m0-NUM:1:m0+NUM;
k=2*pi/lamda;
for iiii=1:length(L)
C0=0;
for ll=1:L(iiii)
C0=C0+factorial(L(iiii))/factorial(ll)/factorial(L(iiii)-ll)*(-1)^(ll-1)/ll;
end
for iii=1:length(det)
for ii=1:length(m)
qtemp=0;
funt1=pi^2/(k*z)*(factorial(m0)*A0)^2/C0;
rouc2=8.705*10^(-8)*k^2*(e*eta)^(-1/3)*abc^(-2)*X*z*(1-2.605*gama^(-1)+7.007*gama^(-2));
for lll=1:L(iiii)
funt2=factorial(L(iiii))/(factorial(lll)*factorial(L(iiii)-lll))*(-1)^(lll-1)/lll;
fun=@(r) r.*funt1.*funt2.*(besselj(m0./2,k./4./z.*r.^2)).^2.*exp(-r.^2*(1./(lll.*det(iii).^2)+2.*rouc2))…
.*besseli(m(ii)-m0,(1./(lll.*det(iii).^2)+2.*rouc2).*r.^2);
qtemp=qtemp+integral(fun,0,R);
end
q(ii)=qtemp;
end
P(iiii,iii)=q(NUM+1)/sum(q);
end
end
figure
plot(det,P(1,:),’rs-‘);hold on
plot(det,P(2,:),’b+-‘);hold on
plot(det,P(3,:),’c*-‘);hold on
plot(det,P(4,:),’md-‘);hold on
plot(det,P(5,:),’g^-‘);
legend(‘L=1′,’L=5′,’L=10′,’L=20′,’L=30’)
%legend(‘λ=417nm’,’λ=457nm’,’λ=488nm’,’λ=532nm’,’λ=632.8nm’)
%legend(‘e=10^{-5}’,’e=3*10^{-5}’,’e=5*10^{-5}’,’e=7*10^{-5}’,’e=9*10^{-5}’)
xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
axis([0.01,0.15,0.35,0.85]);hold on
demo1 = 0.35:0.1:0.85;
demo2 = [0.01,0.03,0.06,0.09,0.12,0.15];%demo2 = 0.01:0.02:0.1;
set(gca,’yTick’,demo1)
set(gca,’xTick’,demo2)
%xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
%axis([0.01,0.1,0.35,0.85]);hold on
%demo1 = 0.35:0.1:0.85;
%demo2 = 0.01:0.02:0.1;
%set(gca,’yTick’,demo1)
%set(gca,’xTick’,demo2)
% [X0,Y0] = meshgrid(lamda,det);
% figure,surf(X0,Y0,P)
% %figure,bar3(P)
% xlabel(‘lamda’);ylabel(‘det’);zlabel(‘P_{m_{0}}’);hold on
>> MHBew_beamindex_hengxiangxiangganchagndu
BLAS: trying environment BLAS_VERSION…
BLAS: loading C:MATLAB7binwin32atlas_Athlon.dll
BLAS: unloading libraries
错误使用 *
BLAS 加载错误:
C:MATLAB7binwin32atlas_Athlon.dll: 找不到指定的模块。
出错 integralCalc>iterateScalarValued (第 330 行)
x = NODES*halfh + midpt; % NNODES x nsubs
出错 integralCalc>vadapt (第 148 行)
[q,errbnd] = iterateScalarValued(u,tinterval,pathlen, …
出错 integralCalc (第 77 行)
[q,errbnd] = vadapt(vfunAB,interval, …
出错 integral (第 87 行)
Q = integralCalc(fun,a,b,opstruct);
出错 MHBew_beamindex_hengxiangxiangganchagndu (第 36 行)
qtemp=qtemp+integral(fun,0,R); clear
m0=1;
lamda=532*10^(-9);%lamda=[417,457,488,532,632.8]*10^(-9); %光束波长
z=50;%z=eps+[0:5:50]; %传播距离
R=0.03;%接受孔径的半径
A0=10;%光束功率常数
det=0.01:0.01:0.15; %横向相干长度
L=[1,5,10,20,30];%光总数指数
e=1*10^(-5);%e=[0.01,0.1,1,10,100]*10^(-5);%动能耗散率
X=1*10^(-8);% 温度耗5散
eta=0.001;% 内尺度因子
abc=3;%各项异性子
gama=-3;%温度盐度贡献比
NUM=10;
m=m0-NUM:1:m0+NUM;
k=2*pi/lamda;
for iiii=1:length(L)
C0=0;
for ll=1:L(iiii)
C0=C0+factorial(L(iiii))/factorial(ll)/factorial(L(iiii)-ll)*(-1)^(ll-1)/ll;
end
for iii=1:length(det)
for ii=1:length(m)
qtemp=0;
funt1=pi^2/(k*z)*(factorial(m0)*A0)^2/C0;
rouc2=8.705*10^(-8)*k^2*(e*eta)^(-1/3)*abc^(-2)*X*z*(1-2.605*gama^(-1)+7.007*gama^(-2));
for lll=1:L(iiii)
funt2=factorial(L(iiii))/(factorial(lll)*factorial(L(iiii)-lll))*(-1)^(lll-1)/lll;
fun=@(r) r.*funt1.*funt2.*(besselj(m0./2,k./4./z.*r.^2)).^2.*exp(-r.^2*(1./(lll.*det(iii).^2)+2.*rouc2))…
.*besseli(m(ii)-m0,(1./(lll.*det(iii).^2)+2.*rouc2).*r.^2);
qtemp=qtemp+integral(fun,0,R);
end
q(ii)=qtemp;
end
P(iiii,iii)=q(NUM+1)/sum(q);
end
end
figure
plot(det,P(1,:),’rs-‘);hold on
plot(det,P(2,:),’b+-‘);hold on
plot(det,P(3,:),’c*-‘);hold on
plot(det,P(4,:),’md-‘);hold on
plot(det,P(5,:),’g^-‘);
legend(‘L=1′,’L=5′,’L=10′,’L=20′,’L=30’)
%legend(‘λ=417nm’,’λ=457nm’,’λ=488nm’,’λ=532nm’,’λ=632.8nm’)
%legend(‘e=10^{-5}’,’e=3*10^{-5}’,’e=5*10^{-5}’,’e=7*10^{-5}’,’e=9*10^{-5}’)
xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
axis([0.01,0.15,0.35,0.85]);hold on
demo1 = 0.35:0.1:0.85;
demo2 = [0.01,0.03,0.06,0.09,0.12,0.15];%demo2 = 0.01:0.02:0.1;
set(gca,’yTick’,demo1)
set(gca,’xTick’,demo2)
%xlabel(‘delta/m’);ylabel(‘P_{l_{0}}’);
%axis([0.01,0.1,0.35,0.85]);hold on
%demo1 = 0.35:0.1:0.85;
%demo2 = 0.01:0.02:0.1;
%set(gca,’yTick’,demo1)
%set(gca,’xTick’,demo2)
% [X0,Y0] = meshgrid(lamda,det);
% figure,surf(X0,Y0,P)
% %figure,bar3(P)
% xlabel(‘lamda’);ylabel(‘det’);zlabel(‘P_{m_{0}}’);hold on
>> MHBew_beamindex_hengxiangxiangganchagndu
BLAS: trying environment BLAS_VERSION…
BLAS: loading C:MATLAB7binwin32atlas_Athlon.dll
BLAS: unloading libraries
错误使用 *
BLAS 加载错误:
C:MATLAB7binwin32atlas_Athlon.dll: 找不到指定的模块。
出错 integralCalc>iterateScalarValued (第 330 行)
x = NODES*halfh + midpt; % NNODES x nsubs
出错 integralCalc>vadapt (第 148 行)
[q,errbnd] = iterateScalarValued(u,tinterval,pathlen, …
出错 integralCalc (第 77 行)
[q,errbnd] = vadapt(vfunAB,interval, …
出错 integral (第 87 行)
Q = integralCalc(fun,a,b,opstruct);
出错 MHBew_beamindex_hengxiangxiangganchagndu (第 36 行)
qtemp=qtemp+integral(fun,0,R); integral MATLAB Answers — New Questions