Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,13 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.352 2002/05/24 11:04:10 geraint +## Removed unnecessary message about *.log file not existing when -D option is used. +## ## Revision 1.351 2002/05/23 17:08:20 geraint ## `mtt sys sfun zip` now produces an input block and an interface block for MTT models. ## Models can be embedded within larger Simulink models by the 2 ports. ## The user must edit 2 code blocks in _sfun_interface.c before compiling with mex. ## @@ -1856,11 +1859,14 @@ echo $2.cr or $2_cr.r exists already - no action taken fi else path_name=$3 if [ -z "$path_name" ]; then - path_name=$MTT_LIB/cr/r + path_name="" + for path in `echo $MTT_CRS | sed 's/:/ /g'`; do + path_name="$path_name $path/r" + done fi echo Copying CR $2 to here from $3 find $path_name -name "$2.cr" -exec cp {} . \; fi exit