Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CST MICROWAVE STUDIO Material change by Matlab

Status
Not open for further replies.

jamesclerk

Newbie level 1
Joined
Apr 16, 2018
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
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;

Error using Interface.CSTStudio_application.NewMWS.Brick/invoke
Invoke Error, Dispatch Exception:
Source: CST MICROWAVE STUDIO 2016
Description: The specified material does not exist: FR-4 (lossy)

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

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top