Need help on a scilab function
Rémi Chaussenot
remi.chaussenot at u-psud.fr
Wed Dec 14 15:39:10 CET 2011
Hi Everybody,
A collegue makes me a function on MatLab, but i use SciLab, and its not working at all.
That's the function :
function newTab = countAlone(filename, sheet)
tab = xlsread([filename '.xlsx'], sheet);
[count values] = hist(tab, unique(tab));
newTab(:, 1) = values;
newTab(:, 2) = count;
xlswrite([filename '_new.xlsx'], newTab, sheet);
I know that i must add a "endfunction" at the end, and use xls_read instead of xlsread.
But, don't change anything, same bugs.
Could you help me please ?
Thanks a lot,
--
Rémi CHAUSSENOT
PhD
Centre de Neurosciences Paris-Sud (CNPS)
remi.chaussenot at u-psud.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20111214/c9f517bf/attachment.htm>
More information about the users
mailing list