1. Contents | ||
2. Setup: | 2.1 | Prerequisites |
2.2 | Installation of files | |
2.3 | Network installation | |
2.4 | Uninstall | |
2.5 | Add MoMo to the Matlab's search path | |
2.6 | License activation | |
2.7 | Summary: installation per net/computer/user | |
3. Preferences | ||
4. Sessions | ||
5. Command line | ||
6. Models | ||
7. Visualize C3D | ||
8. Administration | ||
9. Changes |
ShowC4D
displays the ImageMagick command for joining exported
PNG files to an animated GIF, which is smaller and sharper than AVI movies
usually.Name | Path (example) | Description |
---|---|---|
<MFiles> | D:\MFiles | Base folder for all Matlab functions of MoMo. Do not
create this folder inside Matlab's root directory (see
matlabroot )!
The code management needs the folder name to equal or include the string
"MFiles", e.g. "MFiles2", "MFiles_Dec2008". |
<Inits> | D:\MFiles\Inits2 | Scripts for initializing the path of Matlab. This should be the only folder of MoMo stored permanently in the Matlab path. |
<MoMo> | D:\MFiles\MoMo\R5.0 | Release of MoMo with all subfunctions. For different builds a bunch of subfolders appears here. |
<Filters> | D:\MFiles\Filters | Input and output of files: C3D, ENF, ASC, ... |
<Docs> | D:\MFiles\Docs | Documentation and log files. |
<Errors> | D:\MFiles\Errors | The function BugReport creates a standardized report here in case of errors. Errors occurring in momog are saved to <MoMoData>\BugReport. |
<Tools> | D:\MFiles\Tools | The GL-toolbox containing functions for accessing files, GUI elements, mathematical calculations, strings, structs and self testing. Compiled MEX scripts are in the subfolder <Tools>\Mex. |
<User> | D:\MFiles\User\<Name> | If different users create a bunch of experimental model scripts for MoMo,
it is safe to keep these scripts separately. MoMo finds the
<User>-folder by searching the file "UserNotes_MoMo.txt" in
Matlab's search path. This folder need not be a child of the <MFiles>
folder. See also: momo help UserNotes . |
<MoMoData> | D:\MoMoData | This folder contains support data for MoMo: Norm data,
definitions of session-sets, bug reports, default results folder, pictures
and test data. To tell MoMo the location of this folder type:
momo_local $edit or more general:
![]() |
<DataBase> | D:\MoMoData\DB | MoMo can export its results as ASCII files. Especially averaged sessions are very practical in this format, because they usually contain all needed data for calculations concerning a group of patients. The ASCII format ensures a long time availability of the data. |
<WorkPath> | D:\MoMoData\Results | This is the destination path for exported file, which do not belong to the
database, e.g. PDFs, picture files or movies from
ShowC4D. The folder can depend on the current
user, a specific study or the date, e.g.
"<MoMoData>\Results\Foot\Deb\Mar2009". This path is controlled
by MoMo_local('$edit') or the MoMo
button in the
![]() |
<Cache> | tempdir \MoMo_Cache |
The repeated processing of a session can be accelerated remarkably, if the
contents of the C3D files is stored as copy on the local hard-drive. Therefore
for each session a temporary file is written to the local temp folder. The size
of this folder can be controlled by the function moCacheFile , which
is e.g. called by a right-click on the "Cache trials" button in the
MoMoG dialog. More help: help moCacheFile .The complete cache folder can be deleted without loosing any data. Tip: Move the TEMP folder under Windows to e.g. D:\Temp. This is less confusing, because it does not use the ugly short-name methods of Windows. See "Environment" in the system control panel. |
<Preferences> | prefdir \JSim |
The preferences of MoMo and the GL-toolbox are stored in this folder, which is determined by Matlab individually for each user. All files stored here can be deleted in case of problems. They are recreated automatically asking the user for new settings. |
<GhostScript> | C:\Program files\gs | For the creation of PDFs, GhostScript must be installed locally on each computer (see Prerequisites). |
path2rc
instead of savepath
):path(pathdef); rmpath(<Inits>); savepath
prefdir
\JSim)tempdir
\MoMo_Cache)inigl
,
is the only folder, which must be included in Matlab's search path permanently.
The other folders of MoMo and the GL-toolbox are managed by the function
inigl
. This allows an easy switching between different versions of
MoMo and users can add their own folders without interfering with eachother.
The sets of folders are defined in editable text files, which are read by
inigl
.cd <MFiles>\<Inits>
(replace
<MFiles> and <Inits> with the individual path names!)inigl $install
inigl $init StandardGL
inserts the folders for the
newest MoMo releases temporarily in Matlab's search path. The parameter
"$init" can be omitted, and the folder set "StandardGL" is
the default, so you can write simply inigl
without arguments.
For another version of MoMo type e.g.: inigl MoMoR5_0_10
. A list of
known folder sets is shown by: inigl $list
.inigl $edit StandardGL
inigl User1
activates the new folder set for the
current Matlab session or until another folder set is chosen.inigl
are not case-sensitive.help inigl
.
inigl
manages the patches for the
different Matlab versions dynamically. Therefore the installation of MoMo does
not need patching Matlab's toolbox functions anymore. See the
change log, 19-Jun-2009.momo install
and the host- or client-password, respectively.momo license
.momo licenselog
. This log file can be used to recreate the
current license file - please ask me, if this is needed. In addition, a
backup of the license file is created at each activation of a new client. If
the activation process fails and the current license file is damaged, ask the
author for instructions, how to restore the former status.help momoLicense
MaskPassword
.cd('<MFiles>\<Inits>')
.inigl $install
.inigl
.Default_local $edit
permanently.momo install
and type in the
host-password.Default_local $edit
(see above),
Start all is sufficient. The values
can be adjusted for each user and on each client computer separately.CheckSyntax $user detail
(should fail for unit-test functions only)addunittest; UnitTest
(needed result: "No unexpected errors occurred")momoSelfTest
(needed result: "[TRUSTED]")cd('<MFiles>\<Inits>'); inigl('$install'); inigl
momo install
with client-password,