Community Profile

photo

Jane Jean


ANAVS

Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • 3 Month Streak
  • Thankful Level 3

View badges

Feeds

View by

Question


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

10 years ago | 1 answer | 1

1

answer

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

10 years ago | 0

Question


Unnecessary copying in Matlab Coder generated C code
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 ...

10 years ago | 1 answer | 1

1

answer

Question


error with coder.type('constant',value)
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...

10 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 0 answers | 0

0

answers

Answered
can't find Matlab coder generated mexFunction
I have read somewhere that a possible solution is to use dependencywalker to check the required files needed to run the mexFunct...

12 years ago | 0

Question


can't find Matlab coder generated mexFunction
Hello, I used Matlab Coder to generate a randn mexFunction and used it in another mexFunction. The code runs perfectly well o...

12 years ago | 2 answers | 0

2

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Answered
Matlab Coder : codegen for mvnrnd
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...

12 years ago | 0

Question


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

12 years ago | 1 answer | 0

1

answer

Question


Matlab Coder : codegen for mvnrnd
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...

12 years ago | 2 answers | 0

2

answers

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

12 years ago | 0

Answered
inverse matrix in mexFunction
Sigma_Psi_inv_t = mxMalloc(rowSigma_Psi*colSigma_Psi*sizeof(double)); if(!Sigma_Psi_inv_t){ mexErrMsgTxt("Memory all...

12 years ago | 0

Question


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

12 years ago | 4 answers | 0

4

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


return; can cause Matlab to crash
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...

12 years ago | 0 answers | 1

0

answers

Answered
insert new mexPrintf to stop Matlab crash
#if !defined(_WIN32) #define dgemm dgemm_ #endif #include "mex.h" #include "geometryMatrix64.h" ...

12 years ago | 0

| accepted

Answered
insert new mexPrintf to stop Matlab crash
void matrixMultiplication(mwSignedIndex rowA, mwSignedIndex colA, mwSignedIndex rowB, mwSignedIndex colB, double *A, double *B...

12 years ago | 0

Question


Can I use ubuntu to compile mexFunction and run it on windows?
Can I run mexw64 compiled with an ubuntu on a 64 bit Windows 7?

12 years ago | 1 answer | 0

1

answer

Answered
insert new mexPrintf to stop Matlab crash
void matrixMultiplication(int rowA, int colA, int rowB, int colB, double *A, double *B, double *C){ /* C = A*B */ int ...

12 years ago | 0

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0

Question


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

12 years ago | 5 answers | 0

5

answers

Question


What to do when Matlab R2011b crashes and does not restart?
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 ...

12 years ago | 1 answer | 3

1

answer

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

12 years ago | 0

Question


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

12 years ago | 3 answers | 0

3

answers