Artifact 04109b8ef07a1a3e01c0942b792545bb7890ecda17d66d1ca1bdd93808c6c8c8:
- Executable file mttroot/mtt/bin/trans/m/mtt.m — part of check-in [3d5110fe1b] at 2000-08-01 13:22:01 on branch origin/master — Updated documentation (user: gawthrop@users.sourceforge.net, size: 548) [annotate] [blame] [check-ins using]
function mtt (sys,rep,lang) ## usage: mtt (system[,representation,language]) ## ## Invokes mtt from octave to generate system_representation.language ## Ie equivalent to "mtt system representation language" at the shell ## Representation and language defualt to "sm" and "m" respectively if nargin<2 rep='sm'; endif if nargin<3 lang='m'; endif filename = sprintf("%s_%s.%s", sys, rep, lang); if !exist(filename) command = sprintf("mtt -q %s %s %s", sys, rep, lang); system(command); endif endfunction