Overview
Comment:Updated options list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d6a37713ef18d65c706bca9929b3823e0795db6714e24305ff2751fcdbade7dd
User & Date: geraint@users.sourceforge.net on 2005-01-06 16:03:55
Other Links: branch diff | manifest | tags
Context
2005-01-19
09:45:15
Fixed whitespace. check-in: 0aaef84341 user: geraint@users.sourceforge.net tags: origin/master, trunk
2005-01-06
16:03:55
Updated options list. check-in: d6a37713ef user: geraint@users.sourceforge.net tags: origin/master, trunk
15:36:06
Tidied output of options. check-in: 48d012b27a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/doc/mtt.texi from [7581d31334] to [41ccea449b].

12
13
14
15
16
17
18




19
20
21
22
23
24
25


@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment  Version control history
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment  $Id$
@comment  $Log$




@comment  Revision 1.26  2005/01/06 12:28:36  geraint
@comment  Minor typos.
@comment
@comment  Revision 1.25  2004/08/27 20:12:34  geraint
@comment  Added note about "none" as an option for units.
@comment
@comment  Revision 1.24  2004/08/13 01:39:24  geraint







>
>
>
>







12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29


@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment  Version control history
@comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@comment  $Id$
@comment  $Log$
@comment  Revision 1.27  2005/01/06 14:42:33  geraint
@comment  Fixed explicit/implicit descriptions of forward/backward Euler.
@comment  Replaced -c examples with -cc.
@comment
@comment  Revision 1.26  2005/01/06 12:28:36  geraint
@comment  Minor typos.
@comment
@comment  Revision 1.25  2004/08/27 20:12:34  geraint
@comment  Added note about "none" as an option for units.
@comment
@comment  Revision 1.24  2004/08/13 01:39:24  geraint
441
442
443
444
445
446
447

448
449





450
451
452
453
454
455
456
* Menu-driven interface::       
* Command line interface::      
* Options::                     
* Utilities::                   

Options


* Model-specific options::      






Utilities

* Help::                        
* Copy::                        
* Clean::                       
* Version control::             








>


>
>
>
>
>







445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
* Menu-driven interface::       
* Command line interface::      
* Options::                     
* Utilities::                   

Options

* Available options::           
* Model-specific options::      

Available options

* Experimental options::        
* Deprecated options::          

Utilities

* Help::                        
* Copy::                        
* Clean::                       
* Version control::             

1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341

1342
1343
1344



































































































1345
1346
1347
1348
1349
1350
1351
1352
alias mtt='mtt -o -ss -cc'
@end example
Means that the previous example can be executed using
@example
mtt syst cbg view
@end example

The available options are:
@vtable @code
@item -q
        quiet mode -- suppress MTT banner
@item -A 
        solve algebraic equations symbolically
@item -ae 
        <hybrd> solve algebraic equations numerically
 (this option requires -cc or -oct)
@item -D 
        debug -- leave log files etc
@item -I 
        prints more information
@item -abg 
       start at abg.m representation
@item -c 
        c-code generation
@item -cc
       C++ code generation
@item -d 
        <dir>  use directory <dir>
@item -dc 
       Maximise derivative (not integral) causality
@item -dc 
       Maximise derivative (not integral) causality
@item -i 
       <implicit|euler|rk4>   Use implicit, euler or Runge Kutta IV integration
@item -o 
       ode is same as dae
@item -oct 
       use oct files in place of m files where appropriate
@item -opt 
       optimise code generation
@item -p 
        print environment variables
@item -partition 
       partition hierachical system
@item -r 
        reset time stamp on representation
@item -s 
        try to generate sensitivity BG (experimental)
@item -ss 
       use steady-state info to initialise simulations
@item -stdin 
       read input data from standard input for  simulations
@item -sub 
       <subsystem> operate on this subsystem
@item -t 
        tidy mode (default)
@item -u 
        untidy mode (leaves files in current dir)
@item -v 
        verbose mode (multiple uses increase the verbosity)
@item -viewlevel 
       <N> View N levels of hierachy
@item --version 
       print version and exit
@item --versions 
       print version of mtt and components and exit
@end vtable

@menu

* Model-specific options::      
@end menu




































































































@node Model-specific options,  , Options, Options
@subsection Model specific options
@cindex Model-specific options
It is often desirable to keep the options used to build a model associated with the directory in which the model is contained, along with information about compiler options or paths to component libraries. In these cases, it is convenient to create an executable shell script, say @code{call_mtt} which sets environment variables and options before calling mtt proper, for example:
@example
@verbatim
#! /bin/sh
# call_mtt: sets model specific environment and options







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<

>



>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|







1283
1284
1285
1286
1287
1288
1289





























































1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
alias mtt='mtt -o -ss -cc'
@end example
Means that the previous example can be executed using
@example
mtt syst cbg view
@end example






























































@menu
* Available options::           
* Model-specific options::      
@end menu

@node Available options, Model-specific options, Options, Options
@comment  node-name,  next,  previous,  upThe available options are:
@subsection Available options
@vtable @code
@item 	-A
		solve algebraic equations symbolically
@item	-abg
		start at abg.m representation
@item	-ae <method>
	algebraic equation solver: reduce|hybrd|dassl|hooke
@item	-cc
		C++ code generation
@item	-cr
		use cr before resolving equations
@item	-D
		debug -- leave log files etc
@item	-d <dir>
	use directory <dir>
@item	-dc
		maximise derivative (not integral) causality
@item	-dr <dir>
	use files contained in <dir>
@item	-I
		prints more information
@item	-i <method>
	integration method: implicit|euler|rk4|dassl
@item	-o
		ode is same as dae
@item	-oct
		use oct files in place of m files where appropriate
@item	-opt
		optimise code generation (equivalent to -optl)
@item	-optl
		locally optimise code generation (line-by-line)
@item	-ntmpvar <N>
	declare <N> temporary variables (default=$num_tmp_var)
@item	-p
		print environment variables
@item	-partition
	partition hierachical system
@item	-pdf
		generate pdf in place of ps
@item	-q
		quiet mode -- suppress MTT banner
@item	-r
		reset time stamp on representation
@item	-s
		generate sensitivity BG (use mtt -s sSys rep lang)
@item	-ss
		use steady-state info to initialise simulations
@item	-stdin
		read input data from standard input for  simulations
@item	-sub <subsys>
	operate on subsystem <subsys>
@item	-t
		tidy mode (default)
@item	-trace
		just indicate what mtt will do - but do not do it
@item	-u
		untidy mode (leaves files in current dir)
@item	-v
		verbose mode (multiple uses increment the verbosity)
@item	--version
	print version and exit
@item	--versions
	print version of mtt and components and exit
@item	-viewlevel <N>
	view <N> levels of hierachy
@end vtable

@menu
* Experimental options::        
* Deprecated options::          
@end menu

@node Experimental options, Deprecated options, Available options, Available options
@comment  node-name,  next,  previous,  up
@subsubsection Experimental options
There are some experimental options. These have not yet been heavily tested and should be used with caution.
@vtable @code
@item	-optg
		globally optimise code generation (full vector)
@item	-make-sort
	use sorted equations (sese, generated by make)
@item	-no-reduce
	try not to use symbolic algebra
@item	-sort
		use sorted equations (sese, generated by seqn)
@end vtable

@node Deprecated options,  , Experimental options, Available options
@comment  node-name,  next,  previous,  up
@subsubsection Deprecated options
C code generation is now deprecated in favour of C++ generation
@vtable @code
@item	-c
		c-code generation
@end vtable

@node Model-specific options,  , Available options, Options
@subsection Model specific options
@cindex Model-specific options
It is often desirable to keep the options used to build a model associated with the directory in which the model is contained, along with information about compiler options or paths to component libraries. In these cases, it is convenient to create an executable shell script, say @code{call_mtt} which sets environment variables and options before calling mtt proper, for example:
@example
@verbatim
#! /bin/sh
# call_mtt: sets model specific environment and options
4706
4707
4708
4709
4710
4711
4712




4713
4714
4715
4716
4717
4718
4719
# Generated by MTT at Mon Jun 16 15:10:17 BST 1997

# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$




# %% Revision 1.26  2005/01/06 12:28:36  geraint
# %% Minor typos.
# %%
# %% Revision 1.25  2004/08/27 20:12:34  geraint
# %% Added note about "none" as an option for units.
# %%
# %% Revision 1.24  2004/08/13 01:39:24  geraint







>
>
>
>







4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
# Generated by MTT at Mon Jun 16 15:10:17 BST 1997

# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% Version control history
# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# %% $Id$
# %% $Log$
# %% Revision 1.27  2005/01/06 14:42:33  geraint
# %% Fixed explicit/implicit descriptions of forward/backward Euler.
# %% Replaced -c examples with -cc.
# %%
# %% Revision 1.26  2005/01/06 12:28:36  geraint
# %% Minor typos.
# %%
# %% Revision 1.25  2004/08/27 20:12:34  geraint
# %% Added note about "none" as an option for units.
# %%
# %% Revision 1.24  2004/08/13 01:39:24  geraint


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]