|2.2||Installation of files|
|2.5||Add MoMo to the Matlab's search path|
|2.7||Summary: installation per net/computer/user|
|5. Command line|
|7. Visualize C3D|
ShowC4Ddisplays the ImageMagick command for joining exported PNG files to an animated GIF, which is smaller and sharper than AVI movies usually.
Base folder for all Matlab functions of MoMo. Do not create this folder inside Matlab's root directory (see
|<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: |
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:
|<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
|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 |
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.
||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).|
path(pathdef); rmpath(<Inits>); savepath
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
cd <MFiles>\<Inits>(replace <MFiles> and <Inits> with the individual path names!)
inigl $init StandardGLinserts 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
iniglwithout arguments. For another version of MoMo type e.g.:
inigl MoMoR5_0_10. A list of known folder sets is shown by:
inigl $edit StandardGL
inigl User1activates the new folder set for the current Matlab session or until another folder set is chosen.
iniglare not case-sensitive.
iniglmanages 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 installand the host- or client-password, respectively.
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.
momo installand 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 installwith client-password,