Feeds
提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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>,...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 1
2
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
11 years 前 | 2 个回答 | 1
2
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 1
2
个回答提问
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...
11 years 前 | 0 个回答 | 0
0
个回答提问
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...
11 years 前 | 2 个回答 | 2