| 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 |
| pissing contest | Steve Amphlett | 28 Jun, 2009 11:22:16 |
| inplace column | Sprinceana | 28 Jun, 2009 05:01:20 |
| mex | Sprinceana | 28 Jun, 2009 05:01:20 |
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.
Contact us at files@mathworks.com