sbionmfiledef
NONMEM file definition object for sbionmimport
Syntax
nmdefObj
= sbionmfiledef
nmdefObj
= sbionmfiledef('PropertyName
', PropertyValue
)
Description
creates
an NONMEM® file definition object. The NONMEM file definition
object contains properties for specifying the NONMEM data items
such as group, time, and dependent variable. The NONMEM file
definition object lets you configure the properties to the column
heading or the index of the column. Use the NONMEM file definition
object in conjunction with the nmdefObj
= sbionmfiledefsbionmimport
function
to import NONMEM formatted files for use in fitting.
accepts
one or more comma-separated property name/value pairs. Specify 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
sbionmfiledef
withsbionmimport
if 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
sbionmimport
if the data file has column header labels identical to the table shown in Support for Importing NONMEM Formatted Files.
Version History
Introduced in R2010a