I think I finally can make more sense of these; and I have a question 
for you (far below, under Question:).
Let's see:

1. You only need to open the .xls file once for all subsequent calls to 
oct2xls.m

>We got to this by trial and error trying to get something that works. Right
>now, what we have works on one computer (used by the other developer) but
>does not work on mine. We are both running Octave 3.2.4. No SVN patches
>except of a correction to imread.m so that it will open the file that is
>specified. I will forward your comments to my partner so he can test
>without all of the opens and closes. 

>2. You MUST specify the extension in the file name.
>Is Tout a string variable with a complete filename like
> 'blahblahblah.xls'?
>If not, please tell us the value of Tout (and for that matter, str1, 
>str2, str3 and str4)

Tout is a fully specified filename c:\files\folders\test.xls. I will try to
create a better example later tonight. Str1... are just values to be output
to the XLS sheet.


>.The second argument to xlsopen must be an integer value, not a string 
>value. See second example when you do (in Octave)
>help xlsopen"  (w/o quotes)


The second parameter is the file handle returned by XLSOpen. Does it need to
be typecast as an integer before calling oct2xls?

>. In the *output* argument list arguments should be separated with a 
>comma as well. See example when you do
>help oct2xls"  (w/o quotes)


In our case, for better or worse, we are only outputting single values. I
completely agree that is not the most efficient but we were just trying to
get something to work.

>5. A personal preference: I'd like to make things more readable by 
>adding spaces here and there. Up to you to follow or not, your choice.)

That is my preference as well. The two of us haven't had time to consolidate
on a single formatting approach.



------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to