matlab调用第三方api_matlab混合编程之API

本文详细介绍了如何在MATLAB中使用指针类型进行平台调用,转换不同数据类型如整数、字符串和复数到指针数组,以及从指针数组到Fortran数组的转换。此外,还涉及了MATLAB内存管理、数组属性检查和数据类型的判断方法,以及结构体数组的操作。
摘要由CSDN通过智能技术生成

Pointer type for platform

Signed integer type for size values

Convert array to string

Check assertion value for debugging purposes

Check assertion value without printing assertion text

Offset from first element to desired element

Allocate dynamic memory for array using MATLAB memory manager

Type for string array

Enumerated value identifying class of array

Identifier corresponding to class

Flag specifying whether array has imaginary components

CHARACTER values from Fortran array to pointer array

COMPLEX*16 values from Fortran array to pointer array

COMPLEX*8 values from Fortran array to pointer array

INTEGER*1 values from Fortran array to pointer array

INTEGER*2 values from Fortran array to pointer array

INTEGER*4 values from Fortran array to pointer array

CHARACTER values from pointer array to Fortran array

COMPLEX*16 values from pointer array to Fortran array

COMPLEX*8 values from pointer array to Fortran array

INTEGER*1 values from pointer array to Fortran array

INTEGER*2 values from pointer array to Fortran array

INTEGER*4 values from pointer array to Fortran array

Pointer values from pointer array to Fortran array

REAL*4 values from pointer array to Fortran array

REAL*8 values from pointer array to Fortran array

REAL*4 values from Fortran array to pointer array

REAL*8 values from Fortran array to pointer array

2-D, double-precision, floating-point array initialized to 0

Scalar, double-precision array initialized to specified value

N-D logical array initialized to false

2-D, logical array initialized to false

Unpopulated 2-D, sparse, logical array

Create 1-by-N array initialized to specified string

Free dynamic memory allocated by MXCREATE* functions

Free dynamic memory allocated by MXCALLOC, MXMALLOC, or MXREALLOC functions

Pointer to character array data

Number of bytes required to store each data element

Field value, given field name and index, into structure array

Field value, given field number and index, into structure array

Field name, given field number, in structure array

Field number, given field name, in structure array

Pointer to imaginary data of array

Pointer to logical array data

Number of rows in array

Number of columns in array

Value of NaN (Not-a-Number)

Number of fields in structure array

Number of elements in IR, PR, and PI arrays

Imaginary data elements in array of type DOUBLE

Real data elements in array of type DOUBLE

Value of public property of MATLAB object

Real component of first data element in array

String array to C-style string

Determine whether input is cell array

Determine whether input is string array

Determine whether array is member of specified class

Determine whether data is complex

Determine whether mxArray represents data as double-precision, floating-point numbers

Determine whether array is empty

Determine whether input is finite

Determine whether array was copied from MATLAB global workspace

Determine whether input is infinite

Determine whether array represents data as signed 16-bit integers

Determine whether array represents data as signed 32-bit integers

Determine whether array represents data as signed 64-bit integers

Determine whether array represents data as signed 8-bit integers

Determine whether array is of type mxLogical

Determine whether scalar array is of type mxLogical

Determine whether scalar array of type mxLogical is true

Determine whether input is NaN (Not-a-Number)

Determine whether array is numeric

Determine whether array represents data as single-precision, floating-point numbers

Determine whether input is sparse array

Determine whether input is structure array

Determine whether array represents data as unsigned 16-bit integers

Determine whether array represents data as unsigned 32-bit integers

Determine whether array represents data as unsigned 64-bit integers

Determine whether array represents data as unsigned 8-bit integers

Type for logical array

Allocate dynamic memory using MATLAB memory manager

Reallocate dynamic memory using MATLAB memory manager

Remove field from structure array

Value of one cell of array

Convert structure array to MATLAB object array

Modify number of dimensions and size of each dimension

Set structure array field, given structure field name and array index

Set structure array field, given field number and index

Imaginary data pointer for array

IR array of sparse array

JC array of sparse array

Number of rows in array

Set number of columns in array

Set storage space for nonzero elements

Set new imaginary data for array

Set new real data for array

Set value of public property of MATLAB object

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值