|
SOLUTIONS
|
MLGetInteger32List()
int MLGetInteger32List(MLINK link, int **a, int *n)
从由 link 指定的 MathLink 连接中获取一个32位整数列表,把整数存在数组 a,列表的长度存在 n 中.
更多信息更多信息
- MLGetInteger32List() 为整数数组分配内存. 必须调用 MLReleaseInteger32List() 释放该内存. 如果 MLGetInteger32List() 失败,函数的返回值表明一个错误,不要调用有 a 内容的 MLReleaseInteger32List().
- MLGetInteger32List() 返回不可变的数据.
- MLGetInteger32List() 在错误事件中返回0,如果函数成功则返回非零值.
- 如果 MLGetInteger32List() 失败,则使用 MLError() 检索错误代码.
- MLGetInteger32List() 在 MathLink 的标头文件 mathlink.h 中被声明.
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
