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.

In matlab - HFSS API.. discrete sweep question

Status
Not open for further replies.

fhalim1987

Newbie level 2
Joined
Apr 18, 2010
Messages
2
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
Canada
Activity points
1,303
Hi,

The api on the following link: **broken link removed**

has only a function for the interpolating sweep implemented. but i need a discrete sweep on a single freq.. and i cnt seem to change that in the script file of the function.
There are too many to change, plus i do not now what will the function need as inputs..

And urgent helping hand here anyone?

Regards

Added after 34 minutes:

This is what i commented and changed in the function.. (compared to a script file a recorded while making a discrete sweep).

fprintf(fid, '\n');
fprintf(fid, 'Set oModule = oDesign.GetModule("AnalysisSetup")\n');

fprintf(fid, 'oModule.InsertFrequencySweep _\n');
fprintf(fid, '"%s", _\n', SolutionName);
fprintf(fid, 'Array("NAME:%s", _\n', Name);
fprintf(fid, '"IsEnabled:=", true, _\n');
fprintf(fid, '"Type:=", "Discrete", _\n');
%fprintf(fid, '"InterpTolerance:=", %f, _\n', iTol);
%fprintf(fid, '"InterpMaxSolns:=", %d, _\n', nMaxSols);
fprintf(fid, '"SetupType:=", "SinglePoints", _\n');
%fprintf(fid, '"StartFreq:=", "%fGHz", _\n', fStartGHz);
%fprintf(fid, '"StopFreq:=", "%fGHz", _\n', fStopGHz);
%fprintf(fid, '"Count:=", %d, _\n', nPoints);
fprintf(fid, '"ValueList:=", Array("912MHz"), _\n');
fprintf(fid, '"SaveFieldsList:=", Array(false), _\n');
fprintf(fid, '"ExtrapToDC:=", false)\n');
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top