photo

jh2011


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


MATLAB getting confused over backward slashes and forward slashes when using CD
I downloaded a MATLAB-based toolbox and in some parts of the code it tries to CD into folders. However, it returns an error like...

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


When using mex files, cannot find libraries
I created a mex function which uses another library that relies on gfortran. However, when I execute the function, I see this er...

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


Trying to use interpn - converting sample data into ndgrid format
I'm trying to use the function interpn but it requires that I have everything in the ndgrid format. For example, I'm trying to e...

bijna 7 jaar ago | 2 answers | 0

2

answers

Question


Specifying optimization flags in mex
I know that -O is implemented by default when I use the mex command mex file.cpp However, I have two questions related ...

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


Why is passing data to MEX so slow
I have created this MEX function that takes in arguments like this: toSolve(domain, model.one, model.two, model.three, mo...

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


Solving multiple linear systems where A (the matrix to be inverted) is always the same
I have the following code excerpt: %suppose A is a 40000 by 40000 matrix phi = ones(40000,1); for t = 1:360 ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


MEX was completed successfully, but looks like all symbols are missing
I successfully MEXed a C++ file in MATLAB and the C++ file itself is bugless (I tried it myself). However, when I tried to run i...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


MEX doesn't look for GFORTRAN, although I added it to the path
I want to setup MEX with GFORTRAN on MATLAB. I know that you're supposed to add it to the environment variable by doing this: ...

meer dan 7 jaar ago | 1 answer | 0

1

answer