| MATLAB Central > MATLAB Newsreader > Inplace array (mex) |
|
|
|
I want to create an inplace column vector using MEX. The idea is to create a column array that has its data pointer points on the the data block of an existing (input) matrix. Everything going well until I set the data pointer. Then it crashes |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h2540t$73d$1@fred.mathworks.com>... |
|
"James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in message <h25val$cna$1@fred.mathworks.com>... |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h2620t$162$1@fred.mathworks.com>... |
|
"James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in message <h263n9$ham$1@fred.mathworks.com>... |
|
Below is part of the error message when it crashed. There is an internal check in libmwfl.dll and libmx.dll. Au revoir my freedom ;-( |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h279b1$4q3$1@fred.mathworks.com>... |
|
Follow-up. Here are the sources I used: |
|
"James Tursa" <aclassyguywithaknotac@hotmail.com> wrote in message <h27bm1$1m4$1@fred.mathworks.com>... |
|
I'm working through a function that provides the automatically C-structure definition of the mxArray. As it might have some interests (no longer worry about set up the code wrp to Matlab version), I post the code here: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| mex | Sprinceana | 28 Jun, 2009 05:01:20 |
| inplace column | Sprinceana | 28 Jun, 2009 05:01:20 |
Contact us at files@mathworks.com
