• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > CST > CST使用问答 > CST EXport Macro not working

CST EXport Macro not working

录入:edatop.com     点击:
Hi everyone,
I'm simulating an antenna in CST and I want to export the results of a planar near field scan to a text file in order to read it with Matlab. To do so, I've set up a field monitor( e-field (f=2;z=10) ) on the desired plane and I don't have any problem exporting the results manually once the simulation has finished (Post Processing\Exchange\Import/Export\Plot Data (ASCII). However I'm trying to do this automatically with a script running the following Macro



As you can see it gives me an error and I don't have any idea why I get this. Can somebody explain me how can I fix this? If I try to export any other result, like the e-field of the port modes it works, so I don't understand what's happening.
Thanks

It turned out to be that I was typing the name of the tree item wrong. In my case there was a missing space between (f=2;z=10) and [1] which was difficult to see in the navigation tree. So it gave me that error because that command was doing nothing and after that, the macro was trying to use ASCII Export with another item selected ("Anchor points", as you can see in my picture). Although I managed to make it work, when CST exports the fields I only get zeros in all points. I don't know if I'm setting the parameters correctly. I also tried to export it manually with different values of Dx or Nx but I get the same zeros

申明网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的CST视频培训教程

上一篇:CST TM TE mode boundary conditions
下一篇:How do you export 3D model views in CST MWS 2014?

CST培训课程推荐详情>>

  网站地图