hfss-matlab-api问题
05-08
最近在学习hfss-matlab-api,在学习hfss-matlab-api中dipole_exampe这个例子时,遇到了一些问题。希望各位大神帮忙解答,在此先谢谢各位大神了!
在用matlab调用hfss时,能生成vbs脚本程序,但是不能打开hfss软件也不会生成tempData文件。程序运行到hfssExecuteScript这句时会出现如下报错:
Warning: HFSS Execution returned an error status !
相应程序段为:
tmpPrjFile='F:\Ansoft5\temp\tmpDipole.hfss';
tmpDataFile='F:\Ansoft5\temp\tmpData.m';
tmpScriptFile='F:\Ansoft5\temp\tmpDipole.vbs';
hfssExePath='E:\Ansoft\HFSS13.0\hfss.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:\Ansoft\HFSS13.0\hfss.exe /RunScript F:\Ansoft5\temp\tmpDipole.vbs ...
Warning: HFSS Execution returned an error status !
> In hfssExecuteScript at 112
In dipole1 at 92
? Error using ==> run at 65
F:\Ansoft5\temp\tmpData.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:\Ansoft5\temp\tmpDipole.hfss';
tmpDataFile='F:\Ansoft5\temp\tmpData.m';
tmpScriptFile='F:\Ansoft5\temp\tmpDipole.vbs';
hfssExePath='E:\Ansoft\HFSS13.0\hfss.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:\Ansoft\HFSS13.0\hfss.exe /RunScript F:\Ansoft5\temp\tmpDipole.vbs ...
Warning: HFSS Execution returned an error status !
> In hfssExecuteScript at 112
In dipole1 at 92
? Error using ==> run at 65
F:\Ansoft5\temp\tmpData.m not found.
Error in ==> dipole1 at 95
run(tmpDataFile);
小编,请问现在解决了吗?我遇到了一样的问题。谢谢。
相关文章:
- 怎样用HFSS画螺旋线! (05-08)
- HFSS怎样在波导中显示多个模式 (05-08)
- 关于HFSS画平面只显示外框线的问题! (05-08)
- 机器不太好时运行HFSS可以这样! (05-08)
- Ansoft Hfss (05-08)
- 有没有ADS,HFSS,CST的好点的教材或讲座? (05-08)
射频专业培训教程推荐