Community Profile

Contact

Top 5% contributor

#if !defined(_WIN32) #define dgemm dgemm_ #endif #include "mex.h" #include "geometryMatrix64.h" ...

accepted

0

Answered 3 years ago

Hello, I'm encountering a very weird situation. My Matlab program crashed when I tried to run the mexw64 file and after modi...

5 Answers

Asked 3 years ago

void inverseMatrix(int dim, double *matrix, double *invMatrix) { // matrix and invMatrix are columnwise. int *IPIV,...

4 Answers

Hello, does anybody know a library which provides more or less the same functions as mvnrnd and randn of Matlab? The libr...

2 Answers

I have Matlab R2011b installed on a 64-bit Windows. It crashed due to some coding error in my mex function and when I wanted to ...

1 Answers

3

When I I get this error when I declare variable 'a' and 'b' as constants and take max(a,b): Undefined function 'max' for inpu...

Asked 2 years ago

Hi! I have recently generated a mex function using Matlab coder. However, the mex function stops at one line of the code ...

Hello, I've compiled a mexFunction function1.mexw64 and it works perfectly. Now I need this function in another mexFuncti...

Hello, I'm running C code as mexFunction and the result returned was correct before I added 'clear all'. After adding...

Can I run mexw64 compiled with an ubuntu on a 64 bit Windows 7?

I have a very simple mexFunction but it still causes Matlab to crash. Can someone help to debug where the error is? #incl...

Hello, I am experiencing crashes from Matlab while running mex programs. Below is the scenario of the crashes. A.mexw32 runs ...

3 Answers

Hi! I downloaded a few months ago the Prerelease 2013b version together with its Matlab Coder 2.5. However, I would love ...

1

Asked 1 year ago

Hi! I generated C code with Matlab Coder can I realize that there are a lot of such unnecessary copying. What can I do to avoid ...

Hello, I used Matlab Coder to generate a randn mexFunction and used it in another mexFunction. The code runs perfectly well o...

Hi, I'm trying to generate standalone C code of the mvnrnd function in Matlab with Matlab Coder. By doing so, I keep getting err...

I am working on a 64-bit Matlab with a few simple lines of codes taking in input values and outputting the result. The code work...

0 Answers

I have a structure in Matlab similar to what is below and right before the subfunction is called, the generated C code is do...

Answered 2 years ago

Hi, I have generated a mexFunction using Matlab Coder; however the standalone mexFunction can't run on another version of Matl...

I have read somewhere that a possible solution is to use dependencywalker to check the required files needed to run the mexFunct...

I have managed to the eliminate the errors which caused the crash by defining the size of the output of cholcov in mvnrnd.m scri...

void inverseMatrix(size_t dim, double *matrix, double *invMatrix) { // matrix and invMatrix are columnwise. int *IP...

Sigma_Psi_inv_t = mxMalloc(rowSigma_Psi*colSigma_Psi*sizeof(double)); if(!Sigma_Psi_inv_t){ mexErrMsgTxt("Memory all...

void matrixMultiplication(mwSignedIndex rowA, mwSignedIndex colA, mwSignedIndex rowB, mwSignedIndex colB, double *A, double *B...

void matrixMultiplication(int rowA, int colA, int rowB, int colB, double *A, double *B, double *C){ /* C = A*B */ int ...

MATLAB code for i=1:10 i clear all; load('parameters.mat') blaslib = fullfile('C:\P...

Thank you for the answer. A.mexw32 runs perfectly on other machines. However, after a day not using this computer, after res...