Artifact 2a1d2646aded6241a57561471e59c06434d0cc1a1d6b133377be308542775149:
- File mttroot/mtt/lib/comp/simple/Sensor_seqn.m — part of check-in [74b9225cb0] at 2003-03-13 14:56:45 on branch origin/master — Equation generatation for sorted equations (user: gawthrop@users.sourceforge.net, size: 414) [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("%% NOT USED MTT_y_%s", name); else error(sprintf("attribute ""%s"" not appropriate for a \ source"), attribute); endif endfunction