getTable
Return data from SimBiology dose object as table
Syntax
tbl = getTable(doseObj)
Description
returns dosing data from the dose object tbl = getTable(doseObj)doseObj as a table
tbl.
Input Arguments
Dose object, specified as a ScheduleDose object or
RepeatDose object or array
of these objects.
Output Arguments
Dosing data, returned as a table or cell array of tables. If
doseObj is an array of dose objects, then
tbl is a cell array of tables with the same size as
doseObj.
If doseObj is a RepeatDose object
and any of the StartTime, Amount,
Rate, Interval, and
RepeatCount properties are parameterized, the table shows the name of the parameter in the
corresponding column instead.
Examples
Create a RepeatDose object with some dosing information.
rdose = sbiodose('rd','repeat'); rdose.TargetName = 'x'; rdose.StartTime = 5; rdose.TimeUnits = 'second'; rdose.Amount = 300; rdose.AmountUnits = 'molecule'; rdose.Rate = 1; rdose.RateUnits = 'molecule/second'; rdose.Interval = 100; rdose.RepeatCount = 2;
Get a table of such dosing information.
tbl = getTable(rdose)
tbl =
StartTime Amount Rate Interval RepeatCount
_________ ______ ____ ________ ___________
5 300 1 100 2 Note that the units are also copied over and assigned to
tbl.Properties.VariableUnits property.
tbl.Properties
ans =
Description: ''
VariableDescriptions: {}
VariableUnits: {'second' 'molecule' 'molecule/second' 'second' ''}
DimensionNames: {'Row' 'Variable'}
UserData: []
RowNames: {}
VariableNames: {'StartTime' 'Amount' 'Rate' 'Interval' 'RepeatCount'}
Create a ScheduleDose object with some dosing information.
sdose = sbiodose('sdose','schedule'); sdose.Amount = [100 200 300]; sdose.Time = [5 10 15];
Get a table of such dosing information.
tbl = getTable(sdose)
tbl =
Time Amount
____ ______
5 100
10 200
15 300
Version History
Introduced in R2014a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)