微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > CST MICROWAVE STUDIO Material change by Matlab

CST MICROWAVE STUDIO Material change by Matlab

时间:04-04 整理:3721RD 点击:
Hi,
we can creat a brick in CST by matlab with bellow MATLAB codes. But I want to load from CST material Library other materials for instance "FR-4 (lossy)" or "Copper (annealed)" . Do you know how can use "FR-4 (lossy)" or "Copper (annealed)" ?

If I write invoke(brick, 'Material', 'FR-4 (lossy)') matlab error is;

Matlab Code for material -->PEC
Code:
brick = invoke(mws, 'Brick');  % create a brick in MWS

        invoke(brick, 'Reset');
        invoke(brick, 'Name', 'Brick1');
        invoke(brick, 'Component', 'component1');
        invoke(brick, 'Xrange', '-50', '50');
        invoke(brick, 'Yrange', '-40', '40');
        invoke(brick, 'Zrange', '0', '1');
        invoke(brick, 'Material', 'PEC');   
        invoke(brick, 'Create');

        % ... possibly create other bricks here
        %Note: if several bricks need to be created, the pair of commands ,
        %      brick = invoke(mws'Brick') and release(brick) only need to be issued once.

release(brick);

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top