| MATLAB Central > MATLAB Newsreader > Return empty sparse from a mex file |
|
|
|
Subject: Return empty sparse from a mex file From: Arne Vagren Date: 26 Oct, 2009 10:02:02 Message: 1 of 9 |
|
Hello! |
|
Subject: Return empty sparse from a mex file From: Bruno Luong Date: 26 Oct, 2009 10:49:01 Message: 2 of 9 |
|
"Arne Vagren" <arne.vagren@gmail.com> wrote in message <hc3s2q$fbd$1@fred.mathworks.com>... |
|
Subject: Return empty sparse from a mex file From: Arne Vagren Date: 26 Oct, 2009 11:19:02 Message: 3 of 9 |
|
Thanks for your reply. Actually, in the case nnz = 0, I haven't touched the jc array, it's |
|
Subject: Return empty sparse from a mex file From: Bruno Luong Date: 26 Oct, 2009 11:45:18 Message: 4 of 9 |
|
"Arne Vagren" <arne.vagren@gmail.com> wrote in message <hc40j6$o3d$1@fred.mathworks.com>... |
|
Subject: Return empty sparse from a mex file From: Bruno Luong Date: 26 Oct, 2009 11:50:18 Message: 5 of 9 |
|
Actually I just check, it seems nzmax is never set to 0 by Matlab |
|
Subject: Return empty sparse from a mex file From: Arne Vagren Date: 26 Oct, 2009 12:18:02 Message: 6 of 9 |
|
Ok, I added the line |
|
Subject: Return empty sparse from a mex file From: Tim Davis Date: 30 Oct, 2009 16:11:03 Message: 7 of 9 |
|
"Arne Vagren" <arne.vagren@gmail.com> wrote in message <hc3s2q$fbd$1@fred.mathworks.com>... |
|
Subject: Return empty sparse from a mex file From: James Tursa Date: 30 Oct, 2009 17:46:03 Message: 8 of 9 |
|
"Tim Davis" <davis@cise.ufl.edu> wrote in message <hcf36n$83n$1@fred.mathworks.com>... |
|
Subject: Return empty sparse from a mex file From: Arne Vagren Date: 3 Nov, 2009 19:19:20 Message: 9 of 9 |
|
Thanks! I guess that's a rather subtle error that could have caused me quite a bit of frustration... |
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 |
| sparse | Arne Vagren | 26 Oct, 2009 06:04:03 |
| mex | Arne Vagren | 26 Oct, 2009 06:04:03 |
| spok | Arne Vagren | 26 Oct, 2009 06:04:03 |
Contact us at files@mathworks.com
