Function to translate and compile MCSim model specification text
Source:R/compileModel.R
compileModel.Rd
This function translates MCSim model specification text to C and then compiles the resulting C file to create a dynamic link library (DLL) file (on Windows) or a shared object (SO) file (on Unix).
Arguments
- model_file
Name of an MCSim model specification file.
- c_file
Name of a C source code file to be created by compiling the MCSim model specification file.
- dll_name
Name of a DLL or SO file without the extension (".dll" or ".so").
- dll_file
Name of the same DLL or SO file with the appropriate extension (".dll" or ".so").
- hash_file
Name of a file containing a hash key for determining if
model_file
has changed since the previous translation and compilation.