Select Page

Running Monolix using a command line

Yes, it is possible to run Monolix using a simple command line:

  • with the standalone version of Monolix
    monolixSuiteInstallationFolder/bin/Monolix.sh [–nowin]  -p fullPathProjectName 
    -f [run|saem|fim|ll|graphics]

    (replace .sh into .bat for windows operating system)

  • with the Matlab version of Monolix (the command has to be launched from the matlab directory of the installation of Monolix , i.e. /matlab)
    matlab -wait -nosplash -nodesktop -r "monolix(’-nowin’, ’-p’,
    ’fullpathProjectname’,’-f’,’[run|saem|fim|ll|graphics]’, ’-destroy’ ),exit"

Notice that the project name should be defined using a full path and not a partial path.
The program options are

  •  -nowin : without opening a window, mandatory in no-desktop environments.
  •  -p : project to run. It should be the full path name of the project
  •  -f run|saem|indivfim|ll|graphics to run a task
    • -f run: run the workflow defined in the project file.
    • -f saem: estimate population parameter.
    • -f indiv: estimation of the individual parameters
    • -f fim: estimate the standard errors of the estimates and Fisher information matrix.
    • -f LL: estimate the log-likelihood.
    • -f graphics: generate the result graphics.
    • To run several tasks, you just have to set them successively, e.g. -f saem -f LL

 

modal close image