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
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);