mex
MATLAB Mex Socket Wrapper Library
Have anybody written a POSIX socket wrapping library for MATLAB using Mex? I basically want to open, write and r开发者_如何转开发ead. Both sync and asynchronous alternatives would be nice. My main ta[详细]
2023-04-09 18:48 分类:问答How do I interprete a greyscale matlab image passed to my c++ mexFunction
Here is my project, I have a GUI that loads images and I need to pass 开发者_如何学Cthis image and several information to my mexFunction coded in C++, like xSize, ySize, window size for processing.I a[详细]
2023-04-09 18:17 分类:问答Getting error while converting C MEX-file into pure c++
i am converting some C mex-files into pure C++. obviously i need to convert mxarrays and mexfunctions.[详细]
2023-04-08 12:30 分类:问答Is there an overhead when a C++ mex file finishes and passes data back to MATLAB?
I have written a mex file using C++ to increase the speed of slow \'for loops\' in开发者_如何学运维 MATLAB. I have written two versions, one without openMP and one with. The gains achieved have been v[详细]
2023-04-05 21:43 分类:问答C++ decode void pointer nicely for Matlab mex
I\'m trying to write a C++ mex function for Matlab that can handle multiple datatypes.Matlab gives me an mxArray*, from which I can retrieve a void* for the data, and an mxClassID telling me the datat[详细]
2023-04-05 14:37 分类:问答How to avoid duplicate initialization of .mex (matlab compiled code)?
I have Matlab code that ca开发者_JAVA技巧lls a MEX generated from c++ code. The c++ code requires heavy memory allocation and calculations upon initialization.[详细]
2023-04-04 06:00 分类:问答Does Matlab cause Cuda to leak memory due to CUcontext caching?
Is using cudaDeviceReset() after computations the normal way to use the GPU from Matlab?I can\'t use the GPU computation in the latest version of Matlab because my GPU doesn\'t support Compute Capabil[详细]
2023-03-28 01:06 分类:问答Will this technique reduce the MATLAB realtime workshop coder compilation time?
My workplace use MATLAB and sub-products Simulink, Realtime workshop (RTW), RTW Embedded Coder. We have a large simulink model that is compiled to C then to an object file for loading onto the embedde[详细]
2023-03-27 06:51 分类:问答Why visual studio is linking MSVCR90.dll (x86) on 64 Bit platform?
I\'m writing a library for 开发者_Go百科MATLAB (mex-file). While developing I used the debug profile in Visual Studio 2008. Everything is fine in debug mode. MATLAB executes my library correctly.[详细]
2023-03-26 14:23 分类:问答Cplex linking Error in Mex Command from Matlab
I am trying to run mixed integer quadratic programming by calling Cplex (122version) from Matlab using Mex function.When I try in matlab : mex miqp_cplex.c, following type errors oc开发者_如何学JAVAcu[详细]
2023-03-26 06:39 分类:问答