spok: checks if a MATLAB sparse matrix is OK
by Tim Davis
05 Jun 2008
(Updated 20 Aug 2008)
Useful for mexFunction authors only
|
Watch this File
|
| File Information |
| Description |
This function is very helpful for authors of mexFunctions that return sparse matrices to MATLAB. It is of no use at all to those who work purely with M-files (if you do not write C mexFunctions, please don't bother downloading or rating this file).
A MATLAB sparse matrix is stored in a compressed-column form that can be difficult to generate in a C or Fortran mexFunction. This function, spok, will determine if your matrix is valid. You can also call the C spok function from inside your mexFunction. |
| MATLAB release |
MATLAB 7.6 (R2008a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 01 Dec 2008 |
Qun HAN
|
|
|
| Updates |
| 20 Aug 2008 |
Removed POSIX standard function "snprintf" which Microsoft doesn't comprehend. Should now work on Windows. |
|
Contact us at files@mathworks.com