Edwards
And about that error"array expansion is limited to 1000 nodes" cames
out when i use "watch" in visual fortran to look at the variable
value. It probably is due to the array size is too big and DIGITAL
VISUAL FORTRAN might not open it. What do you think?
Thanks,
If you want to see some examples of using fortran pointers instead of
%val, see:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4443&objectType=file#
in the examples directory.
Thanks for your help!
Edwards
Thanks for your help!
Edwards
It will slow your computation down because you have lost any advantage
from the sparse matrix.
Matlab's native support for sparse matrices is pretty good (and fast).
You may not gain much in terms of speed by going to a fortran mex file.
Ben
Depending on what you're doing, there are Fortran sparse routines for
various operations available on Netlib. But, however, most internal
operations in Matlab are already pretty well optimized so as noted, the
gain may not be significant.