Matlab/c++ the function __oracle in mixed programming

Source: Internet
Author: User
Tags api manual mixed
Record the functions you see or use in matlab/c++ mixed programming matlab/c++ mixed programming API manual download address: http://download.csdn.net/detail/quincuntial/8593513
 
Double *MXGETPR (const Mxarray *array_ptr), obtaining real data in Mxarray, returning the starting pointer of the data
 
Const mwsize *mxgetdimensions (const mxarray *PM); Get a pointer to a dimension group
Mwsize mxgetnumberofdimensions (const mxarray *PM), number of dimensions obtained
Mxclassid mxgetclassid (const mxarray *PM); Get the data type of PM
void Mexerrmsgtxt (const char *errormsg); terminating the program and returning an error message
Double mxgetscalar (const mxarray *PM); Returns the real part of the first data element in an array
Mxarray *mxcreatenumericarray (mwsize ndim, const mwsize *dims,
mxclassid classid, mxcomplexity complexflag); Creates a mxarray that returns a pointer to the Mxarray
void *mxcalloc (mwsize n, mwsize size); allocating dynamic memory
void Mxfree (void *ptr); free dynamic memory
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.