Matlab與CST MWS聯(lián)合仿真問題
本人在matlab里面寫程序 調(diào)用cst(2008)并往里面輸入天線模型,設(shè)置邊界和solver等等,然后仿真。
至斷點(diǎn)時(shí)(事先在solver運(yùn)算之后,save結(jié)果之前,打斷點(diǎn)),可以看到s參數(shù)和遠(yuǎn)場結(jié)果。完了,save結(jié)果,退出cst。
此時(shí),再次用cst打開剛才的cst文件,會發(fā)現(xiàn),模型在,s參數(shù)也可以看到,但是遠(yuǎn)場數(shù)據(jù)打不開了。
問題來了: 遠(yuǎn)場數(shù)據(jù)究竟如何通過matlab保存下來?
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
謝謝斑竹的資料。 但過了一遍后,還是沒有找到答案。
希望不要是一個(gè)bug啊。
資料我是在官網(wǎng)下的。
嗯,有l(wèi)icense的話問問CST技術(shù)支持吧。
場數(shù)據(jù)究竟如何通過matlab保存下來?可以看到模型和S參數(shù),建議到到模型的文件夾下看看,能不能找到有關(guān)的格式為.ffm的文件。如果沒有就是丟失了方向圖文件,有的話,應(yīng)該會再導(dǎo)航樹下的farfiled顯示。
.ffm 文件有的,但是窗口顯示不出來。想讀出數(shù)據(jù),但其格式很復(fù)雜。我曾經(jīng)問過客服,他們居然說其格式是保密不對外公開的。無語。