|
From: | Jasim Ahmed[jahmed] |
Subject: | having trouble with xlswrite |
Date: | Thu, 24 Nov 2016 19:08:18 +0000 |
Hello there, I am a new user of GNU Octave and want to use the xlswrite function. I tried the following example and got an error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> A = [1 5; 3 -0]; >> rstatus = xlswrite('test1.xls', 'A') ; error: 'r_extnd' undefined near line 171 column 27 error: called from xlswrite at line 171 column 3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I also tried the example given in the help section of xlswrite and got a different error: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> arr = [4 5; 1 3]; >> status = xlswrite('test4.xls', 'arr', 'Third_sheet', 'C3:AB40'); Detected XLS interfaces: warning: No Java support found (no Java JRE? no Java pkg installed AND lo aded?) warning: called from getxlsinterfaces at line 121 column 11 xlsopen at line 262 column 17 xlswrite at line 202 column 9 None. warning: xlsopen.m: no'.xls' spreadsheet I/O support with available interfaces. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Curiously enough xlsread seems to work (although there are some warnings): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> [An, Tn, Ra, limits] = xlsread ('test5.xlsx', 'A1:B2'); Detected XLS interfaces: warning: No Java support found (no Java JRE? no Java pkg installed AND lo aded?) warning: called from getxlsinterfaces at line 121 column 11 xlsopen at line 262 column 17 xlsread at line 197 column 11 >> An An = 1 2 >> Tn Tn = { [1,1] = ash [1,2] = jas %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I am using Octave 4.2.0 on a Windows 7 64 bit machine. Can any one help me? Thanks, Jasim |
[Prev in Thread] | Current Thread | [Next in Thread] |