Community Profile

photo

Robert


Finnish Geospatial Research Institute

Con actividad desde 2013

Followers: 0   Following: 0

Contacto

Estadísticas

  • First Review
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


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...

alrededor de 9 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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>,...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 11 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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...

casi 11 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

casi 11 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

casi 11 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

casi 11 años hace | 2 respuestas | 2

2

respuestas