translate_to_mrgsolve
Convert NONMEM control streams to mrgsolve model code for pharmacokinetic simulations, handling ADVAN routines, parameters, and model blocks.
Instructions
Translate a NONMEM control stream (.ctl/.mod) to mrgsolve model code. Handles ADVAN1-13, THETAs, OMEGAs, $PK, $DES, $ERROR.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctl_path | Yes | Path to NONMEM control stream | |
| output_path | No | Where to save the mrgsolve .mod file (optional) | |
| parameter_values | No | Override parameter values (e.g., from .ext final estimates) |