資源簡介
matlab和HFSS聯(lián)合仿真偶極子天線,返回其性能參數(shù)增益和回波損耗

代碼片段和文件信息
function?hfssExportGain(fidtmpGainFilecontext)
fprintf(fid?‘\n‘);
fprintf(fid‘Set?oModule?=?oDesign.GetModule(“ReportSetup“)\n‘);
fprintf(fid‘oModule.CreateReport?_\n‘);
reportName=‘XYPlot1‘;
reportType=‘Far?Fields‘;
displayType=‘Rectangular?Plot‘;
solutionName=‘Setup3GHz‘;
fprintf(fid‘“%s“?_\n‘reportName);
fprintf(fid‘“%s“?_\n‘reportType);
fprintf(fid‘“%s“?_\n‘displayType);
fprintf(fid‘“%s?:?LastAdaptive“?_\n‘?solutionName);
freq=3;
fprintf(fid?‘Array(“Context:=“?“%s“)?_\n‘?context);?
fprintf(fid?‘Array(“Theta:=“?Array(?“All“)?“phi:=“?Array(“All“)?“Freq:=“?Array(“%fGHz“))?_\n‘?freq);
fprintf(fid?‘Array(“X?Component:=“?“Theta“?“Y?Component:=“?Array(“dB(GainTotal)“))?_\n‘);
fprintf(fid?‘Array()?\n‘);?
hfssExportToFile(fid?reportName?tmpGainFile);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????821??2018-10-16?17:37??hfssExportGain.m
?????文件????????2972??2018-10-18?18:25??main.m
評論
共有 條評論