- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
hfss-matlab-api问题
录入:edatop.com 点击:
最近在学习hfss-matlab-api,在学习hfss-matlab-api中dipole_exampe这个例子时,遇到了一些问题。希望各位大神帮忙解答,在此先谢谢各位大神了!
在用matlab调用hfss时,能生成vbs脚本程序,但是不能打开hfss软件也不会生成tempData文件。程序运行到hfssExecuteScript这句时会出现如下报错:
Warning: HFSS Execution returned an error status !
相应程序段为:
tmpPrjFile='F:Ansoft5temptmpDipole.hfss';
tmpDataFile='F:Ansoft5temptmpData.m';
tmpScriptFile='F:Ansoft5temptmpDipole.vbs';
hfssExePath='E:AnsoftHFSS13.0hfss.exe';
............
fclose(fid);
disp('Solving using Hfss');
hfssExecuteScript(hfssExePath,tmpScriptFile,false,false);
run(tmpDataFile);
..........
编译错误提示:
Creating the Script File
Solving using Hfss...
Running HFSS using E:AnsoftHFSS13.0hfss.exe/RunScript F:Ansoft5temptmpDipole.vbs ...
Warning: HFSS Execution returned an error status !
> In hfssExecuteScript at 112
In dipole1 at 92
? Error using ==> run at 65
F:Ansoft5temptmpData.m not found.
Error in ==> dipole1 at 95
run(tmpDataFile);
在用matlab调用hfss时,能生成vbs脚本程序,但是不能打开hfss软件也不会生成tempData文件。程序运行到hfssExecuteScript这句时会出现如下报错:
Warning: HFSS Execution returned an error status !
相应程序段为:
tmpPrjFile='F:Ansoft5temptmpDipole.hfss';
tmpDataFile='F:Ansoft5temptmpData.m';
tmpScriptFile='F:Ansoft5temptmpDipole.vbs';
hfssExePath='E:AnsoftHFSS13.0hfss.exe';
............
fclose(fid);
disp('Solving using Hfss');
hfssExecuteScript(hfssExePath,tmpScriptFile,false,false);
run(tmpDataFile);
..........
编译错误提示:
Creating the Script File
Solving using Hfss...
Running HFSS using E:AnsoftHFSS13.0hfss.exe/RunScript F:Ansoft5temptmpDipole.vbs ...
Warning: HFSS Execution returned an error status !
> In hfssExecuteScript at 112
In dipole1 at 92
? Error using ==> run at 65
F:Ansoft5temptmpData.m not found.
Error in ==> dipole1 at 95
run(tmpDataFile);
申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的HFSS视频培训教程。
上一篇:HFSS如何仿真比较大的阵列
下一篇:interdigital capacitor