powered by
This is a convenience function that ultimately calls mread.
mread
mcode(model, code, project = tempdir(), ...)mcode_cache(model, code, project = tempdir(), ...)
mcode_cache(model, code, project = tempdir(), ...)
model name
character string specifying a mrgsolve model
mrgsolve
project name
passed to mread
Note that the arguments are in slightly different order than mread. The default project is tempdir().
project
tempdir()
mread, mread_cache
mread_cache
# NOT RUN { # } # NOT RUN { code <- ' $CMT DEPOT CENT $PKMODEL ncmt=1, depot=TRUE $MAIN double CL = 1; double V = 20; double KA = 1; ' mod <- mcode("example",code) # } # NOT RUN { # }
Run the code above in your browser using DataLab