hfssuncoveredcylinder.m
来自「用matlab调用HFSS代码hfssapi.rar」· M 代码 · 共 23 行
M
23 行
function hfssUncoveredCylinder(fid, Name, Axis, Center, Radius, Height, Units)Center1 = Center;Center2 = Center;switch(Axis) case 'X', Center2(1) = Center2(1) + Height; case 'Y', Center2(2) = Center2(2) + Height; case 'Z', Center2(3) = Center2(3) + Height;end;% create circlescName1 = strcat(Name, '_Edge1');cName2 = strcat(Name, '_Edge2');hfssCircle(fid, cName1, Axis, Center1, Radius, Units, false);hfssCircle(fid, cName2, Axis, Center2, Radius, Units, false);% ... and connect them.hfssConnect(fid, {cName1, cName2});hfssRename(fid, cName1, Name);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?