sbionmfiledef
NONMEM file definition object for sbionmimport
Syntax
nmdefObj = sbionmfiledef
nmdefObj = sbionmfiledef('PropertyName', PropertyValue)
Description
nmdefObj = sbionmfiledefsbionmimport function
to import NONMEM formatted files for use in fitting.
 nmdefObj = sbionmfiledef('PropertyName', PropertyValue)PropertyName inside
single quotes.  To see the default interpretations for NONMEM formatted
files see Support for Importing NONMEM Formatted Files.
Input Arguments
| 
 | If  | 
Name-Value Arguments
Output Arguments
| 
 | Defines the meanings of the file column headings. It contains
properties for specifying data items such as group, time and date.  | 
Examples
Configure a NONMEM file definition object and import data from a NONMEM formatted file.
 % Configure a NMFileDef object.
        def = sbionmfiledef;
        def.CompartmentLabel       = 'CPT';
        def.DoseLabel              = 'AMT';
        def.DoseIntervalLabel      = 'II';
        def.DoseRepeatLabel        = 'ADDL';
        def.GroupLabel             = 'ID';
        def.TimeLabel              = 'TIME';
        def.DependentVariableLabel = 'DV';
        def.EventIDLabel           = 'EVID';
 
        filename = 'C:\work\datafiles\dose.xls';
        ds = sbionmimport(filename, def);Tips
- Use - sbionmfiledefwith- sbionmimportif you want to apply NONMEM interpretation of headers, and the data file has column header labels different from the table shown in Support for Importing NONMEM Formatted Files.
- Use - sbionmimportif the data file has column header labels identical to the table shown in Support for Importing NONMEM Formatted Files.
Version History
Introduced in R2010a