dlmread.m not in ..\Octave\share\octave\packages\io-1.0.6 on Windows

View: New views
3 Messages — Rating Filter:   Alert me  

dlmread.m not in ..\Octave\share\octave\packages\io-1.0.6 on Windows

by Ola_p :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Sorry for my ignorance, I can't seem to find a good guide on Windows installs.  I've tried to use dlmread on a windows 3.0.0 Octave install, and when that didn't work (I couldn't skip rows and columns like the Matlab equivalent does), I installed the io-1.0.6.tar.gz using pkg install from Octave.

When I look into my Octave packages directory, I have dlmwrite.m, but no dlmread.m.  I tried to find how to run dlmread.cc, but that's beyond my skills.  Should I have a compiler on my machine and should I be compiling dlmread.cc to create a *.m file?  I can't find dlmread.oct anywhere, and if I could, what do I do with it?

I'd appreciate any help, even if it's a pointer to Octave in Windows for dummies.

Thanks,

Ola

Re: dlmread.m not in ..\Octave\share\octave\packages\io-1.0.6 on Windows

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 7, 2008 at 5:13 AM, Ola_p <olga.paw@...> wrote:

>
>  Hi all,
>
>  Sorry for my ignorance, I can't seem to find a good guide on Windows
>  installs.  I've tried to use dlmread on a windows 3.0.0 Octave install, and
>  when that didn't work (I couldn't skip rows and columns like the Matlab
>  equivalent does), I installed the io-1.0.6.tar.gz using pkg install from
>  Octave.
>
>  When I look into my Octave packages directory, I have dlmwrite.m, but no
>  dlmread.m.  I tried to find how to run dlmread.cc, but that's beyond my
>  skills.  Should I have a compiler on my machine and should I be compiling
>  dlmread.cc to create a *.m file?  I can't find dlmread.oct anywhere, and if
>  I could, what do I do with it?
>
>  I'd appreciate any help, even if it's a pointer to Octave in Windows for
>  dummies.

[Note: easy solution at the end of the message]

Some packages require compilation of oct-files (like the io package). In
this case, you need a compiler installed, which should be the same as
the compiler used to compile octave itself. If you're using the binary
package for Windows from sourceforge.net, then you'll need
Visual C++ 2005 Express Edition (available for free). You would then also
need to install the Platform SDK to get some required headers and
libraries. To make octave "aware" of the presence of the compiler, the
easiest is then to start a command prompt windows and:
- run "vcvarsall.bat" from Visual C++ installation dir
- run "SetEnv.cmd" from the Platform SDK installation dir
- run "octave.exe" from the octave installation dir

But in the end, the easiest solution is to wait a few hours, until
the next binary package for Windows is available (release 3.0.1).
I'm currently finishing the package. This release contains the
io-1.0.6 package.

Michael.
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: dlmread.m not in ..\Octave\share\octave\packages\io-1.0.6 on Windows

by David Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ola_p wrote:

> Hi all,
>
> Sorry for my ignorance, I can't seem to find a good guide on Windows
> installs.  I've tried to use dlmread on a windows 3.0.0 Octave install, and
> when that didn't work (I couldn't skip rows and columns like the Matlab
> equivalent does), I installed the io-1.0.6.tar.gz using pkg install from
> Octave.
>
> When I look into my Octave packages directory, I have dlmwrite.m, but no
> dlmread.m.  I tried to find how to run dlmread.cc, but that's beyond my
> skills.  Should I have a compiler on my machine and should I be compiling
> dlmread.cc to create a *.m file?  I can't find dlmread.oct anywhere, and if
> I could, what do I do with it?
>
> I'd appreciate any help, even if it's a pointer to Octave in Windows for
> dummies.
>
> Thanks,
>
> Ola
>  
The version of dlmread in octave-forge was significantly rewritten
earlier this year and I believe it address all of the compatibility
issues. Version 1.0.6 should include this version. If you are using
Windows then yes you need a compiler installed to get this function.
Otherwise just upgrade your Windows Octave binary to version 3.0.1 and
you'll have the new version of the io package.

regards
David


--
David Bateman                                David.Bateman@...
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax)

The information contained in this communication has been classified as:

[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave