Comments (4)
@patrikhuber Thanks, it seems Mathworks is updating C API with explicit typed accessors. That would require mexplus
implementation update.
https://mathworks.com/help/matlab/matlab_external/c-matrix-api-typed-data-access.html
The new C++ API looks good. Perhaps you can give that a try.
from mexplus.
Related: https://mathworks.com/help/matlab/matlab_external/matlab-support-for-interleaved-complex.html
from mexplus.
The mex
command in MATLAB seems to define the macro MX_COMPAT_32
or MEX_DOUBLE_HANDLE
to swith back to the old API.
If you already build MEX functions, MEX S-functions, or standalone MATLAB engine and MAT-file applications, then you should review the Do I Need to Upgrade My MEX Files to Use Interleaved Complex API? topic. To help transition your MEX files and S-functions to the interleaved complex API, MATLAB maintains a compatibility interface. To build MEX files with the compatibility interface, use the mex -R2017b flag. If your code processes complex numbers, you might notice a performance impact as MATLAB adapts your data to the interleaved complex format.
The mex command uses the -R2017b API by default. However, in a future version of MATLAB, mex will use the interleaved complex API -R2018a by default and then you need to modify your build command. Therefore, to ensure the desired behavior across versions of MATLAB, add the compatibility flag -R2017b to your build scripts.
Source: https://de.mathworks.com/help/matlab/matlab_external/matlab-support-for-interleaved-complex.html
from mexplus.
@AchimTuran Thanks. Unfortunately, I do not have Matlab license anymore and cannot check the compatibility.
from mexplus.
Related Issues (20)
- Intel IPP / MKL Interface HOT 2
- Possible memory leakage HOT 1
- Eigen support HOT 10
- Not able to set a cell with mxArray* HOT 1
- Getting matrix data out of a struct HOT 13
- Representing multi-dimensional arrays
- possible bug HOT 1
- How does this program compare with others? HOT 5
- auto_ptr is not available anymore in VS2017.3 HOT 3
- Add support for templated MxArray conversions HOT 5
- Declare noexcept the move constructor and move assignment operator
- Define MEX function as a MATLAB class method HOT 2
- Conversion of vector<CustomType> fails with 'assign' error HOT 4
- Building issues in Ubuntu HOT 3
- Invalid operation: foo HOT 2
- Static TLS problem with Matlab HOT 4
- Fusing mexplus with mexopencv HOT 5
- Issues when using mexplus to wrap the dc1394 driver HOT 2
- Error with `arguments.h` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mexplus.