Artifact 4a6bbeb7654030de080ade0b6bead56c68d94bd68c6b099f5f4f5038a6e664d0:
- File
mttroot/mtt/lib/comp/simple/Sensor_seqn.m
— part of check-in
[06129d0cd0]
at
2003-03-25 10:24:06
on branch origin/master
— SS_seqn Port SS now has forced "external,external" attribute
Sensor_seqn has temporary fix which leads to redundant equations (user: gawthrop@users.sourceforge.net, size: 401) [annotate] [blame] [check-ins using] [more...]
function LHS = Sensor_seqn (attribute,name) ## usage: LHS = Sensor_seqn (attribute,name) ## ## Write the LHS of a sensor equation if strcmp(attribute,"external") LHS = sprintf("MTTy_%s", name); elseif strcmp(attribute,"internal") LHS = sprintf("MTTy_%s", name); else error(sprintf("attribute ""%s"" not appropriate for a \ source"), attribute); endif endfunction