photo

Robert


Finnish Geospatial Research Institute

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Question


How to vectorize assignment of a structure's field value
I have a structure, for example, a 1x5 structure called 'objects' with two fields, and I would like to add a new field, let's ca...

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


Multithreading in MEX function using pthreads
I am building a multi-threaded MEX function which uses pthreads. I followed the example from <http://robertoostenveld.nl/?p=33>,...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Is it allowed for a function to have return type of mxArray?
This is a very "noob" question probably, but is it allowed to have a function with return type mxArray? Or can I only return a p...

meer dan 11 jaar ago | 2 answers | 1

2

answers

Question


How to call mexCallMATLAB on a function that has inputs of different types?
I would like to call the following function from a mex file: norm(X, 'fro') X is a double matrix. 'fro' is obviously a...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


How to use Eclipse to debug mex files?
For all those Linux users (like me) who are not content using gdb's command line interface and would prefer to use a modern IDE ...

meer dan 11 jaar ago | 2 answers | 1

2

answers

Question


Is there a way to make try-catch statements in mex files?
I know that there is no built-in way to do try-catch statements in C, but has Matlab facilitated any type of try-catch functiona...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Is there a helper mex function for printing the contents of an mxArray?
I'm wondering if there is a helper mex function for printing the contents of an mxArray. Something similar to just typing a vari...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Is there an easy way to copy part of an array using mex functions?
I'm aware of mxDuplicateArray to copy a whole mxArray, but if I just one to copy just one "column" or "row" of an mxArray, is th...

meer dan 11 jaar ago | 2 answers | 1

2

answers

Question


How to find amount of time spent and number of times that own function is called?
I recently started to use Profiler with the hopes of using it to find performance bottlenecks, etc. I have found the results qui...

meer dan 11 jaar ago | 0 answers | 0

0

answers

Question


Why do some functions like fread, find, sum (etc) not show up in Profiler?
I recently started to use Profiler with the hopes of using it to find performance bottlenecks, etc. Much to my surprise the numb...

meer dan 11 jaar ago | 2 answers | 2

2

answers