主要内容

XML -MATLAB数据类型转换

MATLAB®SOAP函数自动地将SOAP消息中使用的XML数据类型与MATLAB类型(类)进行转换。下表包含WSDL文档中使用的标量值的XML类型和相应的MATLAB类型。

XML模式类型

MATLAB类型Returned-Scalar

布尔

逻辑

字节

int8

unsignedByte

uint8

int16

unsignedShort

uint16

int

int32

unsignedInt

uint32

int64

unsignedLong

uint64

浮动

字符串

字符向量

gYeargMonthgDaygYearMonthgMonthDay

calendarDuration数组

dateTime

dateTime

日期

dateTime一年一天字段定义。

时间

dateTime小时分钟字段定义。

持续时间

持续时间如无年、月、日
calendarDuration否则

符号QName

字符向量包含一个合法的QName

hexbinarybase64Binary

N——- - - - - -1向量的uint8表示已编码数据的字节值(0-255)

小数整数nonPositiveIntegernonNegativeIntegerpositiveInteger负整数

数组

下表包含数组的XML类型和相应的MATLAB类型。

XML Schema类型阵列

MATLAB类型返回的数组

的数组字符串

N——- - - - - -1细胞的字符数组

数组的类型

N——- - - - - -1指定的向量类型

的数组hexbinarybase64Binary

不支持金宝app