Matlab關(guān)聯(lián)FDTD時(shí)存在的問(wèn)題和解決方案
2023-08-28 21:25 作者:少隨風(fēng)塵逝 | 我要投稿
1、確認(rèn)你所要調(diào)用的文件路徑中不包含中文!
2、可以直接在Matlab的命令行窗口中輸入:
setenv('PATH',[getenv('PATH')';C:\ProgramFiles\Lumerical\v202\bin']);path(path,'C:\ProgramFiles\Lumerical\v202\api\matlab');h=appopen('fdtd');
如果FDTD會(huì)啟動(dòng),說(shuō)明Matlab關(guān)聯(lián)FDTD成功。詳情可見https://blog.csdn.net/Temmie1024/article/details/113175405
3、啟動(dòng)FDTD后,運(yùn)行時(shí)出現(xiàn)報(bào)錯(cuò)代碼:“ERROR: Failed to post close command error 1717? ??ERROR: unable to tear down the job tree. exiting...”
這里需要把“c:\user\開機(jī)用戶名\appdata\roaming\lumerical\中的fdtd.ini配置文件刪除,然后再重新啟動(dòng)FDTD軟件。如果找不到appdata文件,需要打開文件資源管理器中查看里的隱藏的項(xiàng)目,顯示隱藏的文件夾。詳情可見https://zhuanlan.zhihu.com/p/548278459
標(biāo)簽: