0
Ukończony
sortrows use
I have an object X of type 100 x 4 mp
and I want to order it with the command sortrows
the sguiente way:
X = sortRows (X, 4);
but shows error:
Error in ==> sortrows at 74
ndx = sortrowsc(x_sub, col);
Error in ==> A_Var_FijaMP at 9
X=sortrows(X,4));
A_Var_FijaMP.m being my program
Customer support service by UserEcho
The 'sortrows' in MATLAB is hard-coded to double type, as it calls the internal MEX module which accepts only double inputs.
Please do the following changes to fix this:
1. Open sortrows.m in editor:
2. Find & change the line:
to
This disables call to internal MEX, switching to pure m-language implementation which is able to work with mp-matrices.
After the fix, 'sortrows' will start working for multiprecision objects:
I will include proper implementation of 'sortrows' into next version of toolbox (will be released in few days)
si sera en la próxima versión y en muy pocos días puedo esperar
if it will be in the next version and in a few days I can wait
It will be released in Windows version first, then in Linux & MacOSX.
I thought you mean the next version of Multiprecision Computing Toolbox for MATLAB ADVANPIX
Yes, I meant next version of toolbox for Windows, Linux and Mac OSX.
We support all three platforms and new versions of toolbox are released for Windows first.
New version of toolbox (with sortrows) has been released for Windows. Please download it from here:
http://www.advanpix.com/wp-content/plugins/download-monitor/download.php?id=1