File mttroot/mtt/lib/comp/simple/Source_seqn.m artifact de06b8124d part of check-in 09dab38f4a
function RHS = Source_seqn (attribute,name) ## usage: RHS = Source_seqn (attribute,name) ## ## Write the RHS of a source equation if strcmp(attribute,"external") RHS = sprintf("MTTu_%s",name); elseif strcmp(attribute,"internal") error(sprintf("attribute ""internal"" not appropriate for a \ source")); else RHS = attribute; endif endfunction