help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: beginner in octave-few queries


From: Sachin Kumar Sharma
Subject: RE: beginner in octave-few queries
Date: Mon, 12 Oct 2009 11:30:06 +0200

Hi Tatsuro,

This is working, I was making one mistake, actually the most silly one can make.

I was typing new1.m in prompt and then from your mail I realized, that save the 
file with extension *.m but invoke it with name only.

I appreciate your help and support for the same.

Thanks & Regards

Sachin

************************************************************************
Sachin Kumar Sharma
Lead Geomodeler- Mumbai High Full Field Review Project
Senior Reservoir Geophysicist , Consulting Services (DCS)
Schlumberger Asia Services Ltd.
NSE Estate, W.E. Highway,
Goregaon (E), Mumbai-400063
Tel:  022-26857881 (Direct), 022-26854547 ext: 881
Fax: 022-26854222
Mobile: +91 9833892654
* Email: address@hidden 


                              "The urge to quit is the last obstacle between 
you and your dreams."


-----Original Message-----
From: Tatsuro MATSUOKA [mailto:address@hidden 
Sent: Monday, October 12, 2009 12:29 PM
To: Sachin Kumar Sharma; address@hidden; address@hidden
Subject: RE: beginner in octave-few queries

Hello

I have saved your new1.m in C:\usr\tatsu\test\testOctave
'>' indicates octave prompt.

************
>cd C:\usr\tatsu\test\testOctave
>system('dir new1.m')
 Volume in drive C has no label.
 Volume Serial Number is 28D6-BD9D

 Directory of C:\usr\tatsu\test\testOctave

2009/10/12  15:46                72 new1.m
               1 File(s)             72 bytes
               0 Dir(s)  33,996,525,568 bytes free
ans = 0
>new1
Hello, world!
*********
Worked without problem.

You need to locate m files to the current directory or that is specified by 
addpath (see help
addpath). 

Regards

Tatsuro
--- Sachin Kumar Sharma wrote:

> Tatsuro, Leo,
> 
> I reinstalled Octave at default location in C drive.
> 
> The script is attached with the mail.
> 
> And the dump of system('dir') is as follows.
> 
> 
> 
> octave-3.2.2.exe:1:C:\Octave\3.2.2_gcc-4.3.0\bin
> > system('dir')
>  Volume in drive C is System
>  Volume Serial Number is 1087-25CB
> 
>  Directory of C:\Octave\3.2.2_gcc-4.3.0\bin
> 
> 10/12/2009  10:43 AM    <DIR>          .
> 10/12/2009  10:43 AM    <DIR>          ..
> 08/21/2009  12:35 AM            33,490 amd.dll
> 08/21/2009  12:35 AM           420,808 arpack.dll
> 08/17/2009  03:06 PM         4,003,328 atlas.dll
> 08/17/2009  03:06 PM           230,912 blas.dll
> 08/21/2009  12:35 AM            64,092 bzip2.dll
> 08/21/2009  12:35 AM           440,785 cairo-2.dll
> 08/21/2009  12:35 AM            36,592 camd.dll
> 08/17/2009  03:06 PM           154,624 cblas.dll
> 
> 
> 
> I really appreciate your help, I just need to get it running so that I can 
> get started with some
> basic scripting work.
> 
> Thanks & Regards
> 
> Sachin
> 
> ************************************************************************
> Sachin Kumar Sharma
> Lead Geomodeler- Mumbai High Full Field Review Project
> Senior Reservoir Geophysicist , Consulting Services (DCS)
> Schlumberger Asia Services Ltd.
> 
> 
>
&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;
"The urge to quit is the last obstacle between you and your
> dreams."
> 
> 
> -----Original Message-----
> From: Tatsuro MATSUOKA [mailto:address@hidden 
> Sent: Monday, October 12, 2009 11:30 AM
> To: Sachin Kumar Sharma; address@hidden
> Subject: RE: beginner in octave-few queries
> 
> Hello
> 
> --- Sachin Kumar Sharma  wrote:
> 
> > BB,
> > 
> > I did try renaming the file as 'page42_sample.m' as well as checking the 
> > path as well.
> > 
> > The error stays
> > 
> > octave-3.2.2.exe:5:F:\Octave\3.2.2_gcc-4.3.0\bin
> > > octave page42_sample.m
> > error: `octave' undefined near line 5 column 1
> 
> Hmmm.
> 'octave page42_sample.m' is not correct inside octave. It is used from 
> outside of octave (e.g.
> cmd
> prompt). Just type 'page42_sample' in the octave.
> 
> Please type from octave prompt
> system('dir') 
> 
> What is the (current) directory name? Can you find page42_sample.m in the 
> output? 
> 
> Regards
> 
> Tatsuro
> 
>  
> 
> 
> --------------------------------------
> GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
> http://pr.mail.yahoo.co.jp/gyao/
> 


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]