Artifact 5dcc4690eb8d2c8a59d173046efee770e4521e68195962b832d5937717e6364c:
- File mtt/bin/trans/m/mtt_is_external.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 629) [annotate] [blame] [check-ins using] [more...]
- File
mttroot/mtt/bin/trans/m/mtt_is_external.m
— part of check-in
[9b8ec096c5]
at
2003-03-25 11:50:54
on branch origin/master
— Added is_port -- but not used at the moment.
Some explanation added. (user: gawthrop@users.sourceforge.net, size: 629) [annotate] [blame] [check-ins using]
function is_external = mtt_is_external (comp_type,outsig, insigs, is_port) ## usage: is_external = mtt_is_external (comp_type,outsig, insigs, is_port) ## ## This is to determine if mtt_component_equation should look for ## another equation. If is_external, the varable is available as a ## system input and therfore requires no further equation. ## I suspect that it needs more work. if nargin<4 is_port = 0; endif is_external = 0; # Default if is_port is_external = 0; elseif strcmp(comp_type,"SS"); is_external = insigs(1,2)!=outsig(2); else is_external = 0; endif endfunction