Menu

#25 modpar.r generation is broken

Bug
open
nobody
MTT (33)
5
2002-05-17
2002-05-17
No

The recent update (2002/04/16) of modpar_txt2r has
broken the generation of <sys>_modpar.r.

It appears that modpar_txt2r now expects modulated
parmameters to be prepended by the name of the system,
which differs from previous behaviour.

log session below illustrates problem:

$ mtt -q RC modpar txt
Copying RC_modpar.txt
$
$ cat RC_modpar.txt
# Modpar file (RC_modpar.txt)
# Generated by MTT at Fri May 17 12:11:51 BST 2002
variable

# End of RC_modpar.txt
$
$ mtt -q RC struc txt
Copying RC_struc.txt
$
$ cat RC_struc.txt
input
1
control
RC_control
1
input
2
variable
RC_variable
1
output
1
control
RC_control
1
state
1
c
RC_c
1
$
$ modpar_txt2r RC
Creating RC_modpar.r
$
$ cat RC_modpar.r
% Modpar file (RC_modpar.r)
% Generated by MTT at Fri May 17 12:16:43 BST 2002
$
$ cat ../../previous/RC/MTT_work/RC_modpar.r
% Modpar file (RC_modpar.r)
% Generated by MTT at Mon May 13 18:45:54 BST 2002
variable := mttu(2,1);
$

Discussion


Log in to post a comment.