Matlab與CST MWS聯(lián)合仿真問(wèn)題
本人在matlab里面寫程序 調(diào)用cst(2008)并往里面輸入天線模型,設(shè)置邊界和solver等等,然后仿真。
至斷點(diǎn)時(shí)(事先在solver運(yùn)算之后,save結(jié)果之前,打斷點(diǎn)),可以看到s參數(shù)和遠(yuǎn)場(chǎng)結(jié)果。完了,save結(jié)果,退出cst。
此時(shí),再次用cst打開(kāi)剛才的cst文件,會(huì)發(fā)現(xiàn),模型在,s參數(shù)也可以看到,但是遠(yuǎn)場(chǎng)數(shù)據(jù)打不開(kāi)了。
問(wèn)題來(lái)了: 遠(yuǎn)場(chǎng)數(shù)據(jù)究竟如何通過(guò)matlab保存下來(lái)?
CST官方Application Notes里有關(guān)于這個(gè)的內(nèi)容,我本人不用這個(gè),所以樓主你得自己研究一下。
Linking MATLAB® and CST STUDIO SUITE
Abstract:
This application note is centered on the use of CST MICROWAVE STUDIO® (CST MWS) with MATLAB®. MATLAB is a scientific computing program based on linear algebra and matrix mathematics. Component Object Models (COM) and ActiveX were used to interface with MATLAB via CST MWS’s VBA macro language. The motivation for CST MWS <-> MATLAB integration is to take advantage of the extensive data manipulation, signal processing, and graphics capability in MATLAB. COM and ActiveX interfaces allow behind the scenes data transfer and tight integration between the two programs. The described approach can be applied to other members of the CST STUDIO SUITE product line as well. Linking CST products with any third party Windows based tools, e.g. MATHCAD®, MATHEMATICA® , MAPLE® can also be achieved using the technique described.
Key words:
COM, ActiveX, MATLAB®, MATHCAD®, MAPLE®, MATHEMATICA®
Version:
5/20/2010, 1.1
謝謝斑竹的資料。 但過(guò)了一遍后,還是沒(méi)有找到答案。
希望不要是一個(gè)bug啊。
資料我是在官網(wǎng)下的。
嗯,有l(wèi)icense的話問(wèn)問(wèn)CST技術(shù)支持吧。
場(chǎng)數(shù)據(jù)究竟如何通過(guò)matlab保存下來(lái)?可以看到模型和S參數(shù),建議到到模型的文件夾下看看,能不能找到有關(guān)的格式為.ffm的文件。如果沒(méi)有就是丟失了方向圖文件,有的話,應(yīng)該會(huì)再導(dǎo)航樹(shù)下的farfiled顯示。
.ffm 文件有的,但是窗口顯示不出來(lái)。想讀出數(shù)據(jù),但其格式很復(fù)雜。我曾經(jīng)問(wèn)過(guò)客服,他們居然說(shuō)其格式是保密不對(duì)外公開(kāi)的。無(wú)語(yǔ)。