matlab_sys/
raw.rs

1#[cfg(feature = "separate-complex")]
2mod separate_complex_impl;
3/// Reexports for the separate-complex API. The differences between the API versions are documented by Mathworks [here][1].
4///
5/// [1]: https://de.mathworks.com/help/matlab/matlab_external/matlab-support-for-interleaved-complex.html
6#[cfg(feature = "separate-complex")]
7pub mod separate_complex {
8    // While reexporting all items with an API version suffix have this suffix stripped.
9    // This matches the behavior in the C headers, which also mask the names with the suffix-less names using macros.
10    pub use super::separate_complex_impl::{
11        engClose, engEvalString, engGetVariable, engGetVisible, engOpen, engOpenSingleUse,
12        engOutputBuffer, engPutVariable, engSetVisible, matClose, matDeleteVariable, matError,
13        matGetDir, matGetErrno, matGetFp, matGetNextVariable, matGetNextVariableInfo,
14        matGetVariable, matGetVariableInfo, matOpen, matPutVariable, matPutVariableAsGlobal,
15        mexAtExit, mexCallMATLABWithObject, mexCallMATLABWithTrapWithObject, mexErrMsgIdAndTxt,
16        mexErrMsgTxt, mexEvalString, mexEvalStringWithTrap, mexFunction, mexFunctionName,
17        mexGetVariablePtr, mexGetVariableWithObject, mexIsGlobal, mexIsLocked, mexLock,
18        mexMakeArrayPersistent, mexMakeMemoryPersistent, mexPrintAssertion, mexPrintf,
19        mexPutVariable, mexUnlock, mexWarnMsgIdAndTxt, mexWarnMsgTxt, mex_exit_fn, mwIndex,
20        mwSignedIndex, mwSize, mxAddField, mxArray, mxArrayToString, mxArrayToUTF8String,
21        mxCalcSingleSubscript, mxCalloc, mxChar, mxClassID, mxComplexity, mxCreateCellArray,
22        mxCreateCellMatrix, mxCreateCharArray, mxCreateCharMatrixFromStrings, mxCreateDoubleMatrix,
23        mxCreateDoubleScalar, mxCreateLogicalArray, mxCreateLogicalMatrix, mxCreateLogicalScalar,
24        mxCreateNumericArray, mxCreateNumericMatrix, mxCreateSharedDataCopy, mxCreateSparse,
25        mxCreateSparseLogicalMatrix, mxCreateString, mxCreateStringFromNChars, mxCreateStructArray,
26        mxCreateStructMatrix, mxCreateUninitDoubleMatrix, mxCreateUninitNumericArray,
27        mxCreateUninitNumericMatrix, mxDestroyArray, mxDuplicateArray, mxFastZeros, mxFree,
28        mxFunctionPtr, mxGetCell, mxGetChars, mxGetClassID, mxGetClassName, mxGetData,
29        mxGetDimensions, mxGetElementSize, mxGetEps, mxGetField, mxGetFieldByNumber,
30        mxGetFieldNameByNumber, mxGetFieldNumber, mxGetImagData, mxGetInf, mxGetIr, mxGetJc,
31        mxGetLogicals, mxGetM, mxGetN, mxGetNChars, mxGetNaN, mxGetNumberOfDimensions,
32        mxGetNumberOfElements, mxGetNumberOfFields, mxGetNzmax, mxGetPi, mxGetPr, mxGetProperty,
33        mxGetPropertyShared, mxGetScalar, mxGetString, mxGetUserBits, mxIsCell, mxIsChar,
34        mxIsClass, mxIsComplex, mxIsDouble, mxIsEmpty, mxIsFinite, mxIsFromGlobalWS,
35        mxIsFunctionHandle, mxIsInf, mxIsInt16, mxIsInt32, mxIsInt64, mxIsInt8, mxIsLogical,
36        mxIsLogicalScalar, mxIsLogicalScalarTrue, mxIsNaN, mxIsNumeric, mxIsObject, mxIsOpaque,
37        mxIsScalar, mxIsSingle, mxIsSparse, mxIsStruct, mxIsUint16, mxIsUint32, mxIsUint64,
38        mxIsUint8, mxLogical, mxMAXNAM, mxMalloc, mxRealloc, mxRemoveField, mxSetCell,
39        mxSetClassName, mxSetData, mxSetDimensions, mxSetField, mxSetFieldByNumber,
40        mxSetFromGlobalWS, mxSetImagData, mxSetIr, mxSetJc, mxSetM, mxSetN, mxSetNzmax, mxSetPi,
41        mxSetPr, mxSetProperty, mxSetPropertyShared, mxSetUserBits, mxUnreference, mxUnshareArray,
42        Engine, MATFile, FILE, MWINDEX_MAX, MWINDEX_MIN, MWSINDEX_MAX, MWSINDEX_MIN, MWSIZE_MAX,
43        MWSIZE_MIN,
44    };
45}
46#[cfg(feature = "interleaved-complex")]
47mod interleaved_complex_impl;
48/// Reexports for the interleaved-complex API. The differences between the API versions are documented by Mathworks [here][1].
49///
50/// [1]: https://de.mathworks.com/help/matlab/matlab_external/matlab-support-for-interleaved-complex.html
51#[cfg(feature = "interleaved-complex")]
52pub mod interleaved_complex {
53    // While reexporting all items with an API version suffix have this suffix stripped.
54    // This matches the behavior in the C headers, which also mask the names with the suffix-less names using macros.
55    pub use super::interleaved_complex_impl::{
56        engClose, engEvalString, engGetVariable, engGetVisible, engOpen, engOpenSingleUse,
57        engOutputBuffer, engPutVariable, engSetVisible, matClose, matDeleteVariable, matError,
58        matGetDir, matGetErrno, matGetFp, matGetNextVariable, matGetNextVariableInfo,
59        matGetVariable, matGetVariableInfo, matOpen, matPutVariable, matPutVariableAsGlobal,
60        mexAtExit, mexCallMATLAB, mexCallMATLABWithTrap, mexErrMsgIdAndTxt, mexErrMsgTxt,
61        mexEvalString, mexEvalStringWithTrap, mexFunction, mexFunctionName, mexGetVariable,
62        mexGetVariablePtr, mexIsGlobal, mexIsLocked, mexLock, mexMakeArrayPersistent,
63        mexMakeMemoryPersistent, mexPrintAssertion, mexPrintf, mexPutVariable, mexUnlock,
64        mexWarnMsgIdAndTxt, mexWarnMsgTxt, mex_exit_fn, mwIndex, mwSignedIndex, mwSize, mxAddField,
65        mxArray, mxArrayToString, mxArrayToUTF8String, mxCalcSingleSubscript, mxCalloc, mxChar,
66        mxClassID, mxComplexDouble, mxComplexInt16, mxComplexInt32, mxComplexInt64, mxComplexInt8,
67        mxComplexSingle, mxComplexUint16, mxComplexUint32, mxComplexUint64, mxComplexUint8,
68        mxComplexity, mxCreateCellArray, mxCreateCellMatrix, mxCreateCharArray,
69        mxCreateCharMatrixFromStrings, mxCreateDoubleMatrix, mxCreateDoubleScalar,
70        mxCreateLogicalArray, mxCreateLogicalMatrix, mxCreateLogicalScalar, mxCreateNumericArray,
71        mxCreateNumericMatrix, mxCreateSparse, mxCreateSparseLogicalMatrix, mxCreateString,
72        mxCreateStringFromNChars, mxCreateStructArray, mxCreateStructMatrix,
73        mxCreateUninitNumericArray, mxCreateUninitNumericMatrix, mxDestroyArray, mxDuplicateArray,
74        mxFree, mxFunctionPtr, mxGetCell, mxGetChars, mxGetClassID, mxGetClassName,
75        mxGetComplexDoubles, mxGetComplexInt16s, mxGetComplexInt32s, mxGetComplexInt64s,
76        mxGetComplexInt8s, mxGetComplexSingles, mxGetComplexUint16s, mxGetComplexUint32s,
77        mxGetComplexUint64s, mxGetComplexUint8s, mxGetData, mxGetDimensions, mxGetDoubles,
78        mxGetElementSize, mxGetEps, mxGetField, mxGetFieldByNumber, mxGetFieldNameByNumber,
79        mxGetFieldNumber, mxGetInf, mxGetInt16s, mxGetInt32s, mxGetInt64s, mxGetInt8s, mxGetIr,
80        mxGetJc, mxGetLogicals, mxGetM, mxGetN, mxGetNChars, mxGetNaN, mxGetNumberOfDimensions,
81        mxGetNumberOfElements, mxGetNumberOfFields, mxGetNzmax, mxGetPr, mxGetProperty,
82        mxGetScalar, mxGetSingles, mxGetString, mxGetUint16s, mxGetUint32s, mxGetUint64s,
83        mxGetUint8s, mxGetUserBits, mxIsCell, mxIsChar, mxIsClass, mxIsComplex, mxIsDouble,
84        mxIsEmpty, mxIsFinite, mxIsFromGlobalWS, mxIsFunctionHandle, mxIsInf, mxIsInt16, mxIsInt32,
85        mxIsInt64, mxIsInt8, mxIsLogical, mxIsLogicalScalar, mxIsLogicalScalarTrue, mxIsNaN,
86        mxIsNumeric, mxIsObject, mxIsOpaque, mxIsScalar, mxIsSingle, mxIsSparse, mxIsStruct,
87        mxIsUint16, mxIsUint32, mxIsUint64, mxIsUint8, mxLogical, mxMAXNAM, mxMakeArrayComplex,
88        mxMakeArrayReal, mxMalloc, mxRealloc, mxRemoveField, mxSetCell, mxSetClassName,
89        mxSetComplexDoubles, mxSetComplexInt16s, mxSetComplexInt32s, mxSetComplexInt64s,
90        mxSetComplexInt8s, mxSetComplexSingles, mxSetComplexUint16s, mxSetComplexUint32s,
91        mxSetComplexUint64s, mxSetComplexUint8s, mxSetData, mxSetDimensions, mxSetDoubles,
92        mxSetField, mxSetFieldByNumber, mxSetFromGlobalWS, mxSetInt16s, mxSetInt32s, mxSetInt64s,
93        mxSetInt8s, mxSetIr, mxSetJc, mxSetM, mxSetN, mxSetNzmax, mxSetPr, mxSetProperty,
94        mxSetSingles, mxSetUint16s, mxSetUint32s, mxSetUint64s, mxSetUint8s, mxSetUserBits, Engine,
95        MATFile, FILE, MWINDEX_MAX, MWINDEX_MIN, MWSINDEX_MAX, MWSINDEX_MIN, MWSIZE_MAX,
96        MWSIZE_MIN,
97    };
98}