help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 6, Issue 8


From: frank wang
Subject: Re: Help-octave Digest, Vol 6, Issue 8
Date: Thu, 7 Sep 2006 17:15:45 -0700

Hi,
 
On the item 7, the condition bug. It is occurred in debug mode. In normal octave mode, it works.
 
Sorry for the confusion.
 
Thanks
 
Frank

 
On 9/7/06, address@hidden <address@hidden > wrote:
Send Help-octave mailing list submissions to
       address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
       https://www.cae.wisc.edu/mailman/listinfo/help-octave
or, via email, send a message with subject or body 'help' to
       address@hidden

You can reach the person managing the list at
       address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Help-octave digest..."


Today's Topics:

  1. Re: Problem using plot in MacOSX tiger (Joe Koski)
  2. Re: .m files to be run by a computer without matlab or octave
     (Shai Ayal)
  3. Re: Problem using plot in MacOSX tiger (Daniel Oberhoff)
  4. 2 + 2 = H ??? (Micah A Colon)
  5. RE: Problem using plot in MacOSX tiger (Harbinson, Jeremy)
  6. debug command (frank wang)
  7. condition bug (frank wang)
  8. hello,I need some DSP manul about OCTAVE........ (W WOOD)


----------------------------------------------------------------------

Message: 1
Date: Thu, 07 Sep 2006 10:21:20 -0600
From: Joe Koski <address@hidden>
Subject: Re: Problem using plot in MacOSX tiger
To: "Harbinson, Jeremy" < address@hidden>,
       <address@hidden>
Message-ID: < address@hidden>
Content-Type: text/plain;       charset="US-ASCII"

on 9/7/06 4:07 AM, Harbinson, Jeremy at address@hidden wrote:

> Hi,
> I have installed Octave 2.1.73 on a MacBook running Tiger, and installed
> Gnuplot and Aquaterm using Fink Commander, but when I try running the plot
> command I get the message:
>
> octave:3> plot(cat,dog)
> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>   Referenced from: /usr/local/bin/gnuplot
>   Reason: image not found
> warning: in /usr/local/share/octave/2.1.73/m/plot/__plt__.m near line 85,
> column 2:
> warning: connection to external plotter (pid = 10867) lost --
> warning: please try your plot command(s) again
> warning: broken pipe -- some output may be lost
> octave:4> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>   Referenced from: /usr/local/bin/gnuplot
>   Reason: image not found
>
> warning: connection to external plotter (pid = 10868) lost --
> warning: please try your plot command(s) again
> warning: broken pipe -- some output may be lost
> warning: connection to external plotter (pid = 10892) lost --
> warning: please try your plot command(s) again
> warning: broken pipe -- some output may be lost
>
> Any suggestions? - I am completely new to the Mac so maybe I have done
> something wrong...
> all the best,
> Jeremy Harbinson
>
Jeremy,

On my G5 Mac, I have the following lines in a .bash_profile file in my home
directory:

export GNUTERM=aqua
export DISPLAY=:0.0

If that, doesn't fix the problem, I suspect you're mixing Fink and non-Fink
applications, and you must really understand where all the files are and
have the correct declarations in your .bash_profile to make that work.

Joe





------------------------------

Message: 2
Date: Thu, 07 Sep 2006 19:37:35 +0300
From: Shai Ayal < address@hidden>
Subject: Re: .m files to be run by a computer without matlab or octave
To: Anders Lofter?d <address@hidden >
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

you need either
1. compile the m-files into an executable -- google for "matlab
compiler" or "octave compiler"
2. translate into a compileable language and compile that -- search for
"matlab to c"  or "octave to c"

Shai

Anders Lofter?d wrote:
> Hi
>
> Have a program written with matlab codes... The program is meant to be
> run on other computers without these programs (perhaps dos). How can
> this be done?
>
> best regards...
>
>
> Anders Lofter?d
>
>
> Weidemannsvei 5c
> 7014 Trondheim
> Tlf: 41667454
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave


--
Shai Ayal, Ph.D.
Director of Development
BioControl Medical BCM
Tel:  + 972 3 6322 126 ext 223
Fax:  + 972 3 6322 125
email: address@hidden


------------------------------

Message: 3
Date: Thu, 07 Sep 2006 18:42:24 +0200
From: Daniel Oberhoff <address@hidden >
Subject: Re: Problem using plot in MacOSX tiger
To: Joe Koski <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1

Joe Koski wrote:
> on 9/7/06 4:07 AM, Harbinson, Jeremy at address@hidden wrote:
>
>
>> Hi,
>> I have installed Octave 2.1.73 on a MacBook running Tiger, and installed
>> Gnuplot and Aquaterm using Fink Commander, but when I try running the plot
>> command I get the message:
>>
>> octave:3> plot(cat,dog)
>> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>> warning: in /usr/local/share/octave/2.1.73/m/plot/__plt__.m near line 85,
>> column 2:
>> warning: connection to external plotter (pid = 10867) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> octave:4> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>>
>> warning: connection to external plotter (pid = 10868) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> warning: connection to external plotter (pid = 10892) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>>
>> Any suggestions? - I am completely new to the Mac so maybe I have done
>> something wrong...
>> all the best,
>> Jeremy Harbinson
>>
>>
> Jeremy,
>
> On my G5 Mac, I have the following lines in a .bash_profile file in my home
> directory:
>
>   export GNUTERM=aqua
>   export DISPLAY=:0.0
>
> If that, doesn't fix the problem, I suspect you're mixing Fink and non-Fink
> applications, and you must really understand where all the files are and
> have the correct declarations in your .bash_profile to make that work.
>
> Joe
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
or check if libaquaterm.1.0.0.dylib can instead be found in /sw/lib. In
this case you can help out by:

sudo ln -s /sw/lib/libaquaterm.1.0.0.dylib /usr/local/lib/

gnu-stow can be used quite neatly to automate these kinda links, but it
does require some shell hackage (if not much).

Hmm, looking again: why is gnuplot in /usr/local/bin, doesn't fink
always go to /sw?
Do you have a gnuplot in /sw/bin? If so you might want to try deleting
(or renaming) the other gnuplot so that octave uses the right one:

sudo mv /usr/local/gnuplot /usr/local/gnuplot.out

Cheers

Daniel


------------------------------

Message: 4
Date: Thu, 7 Sep 2006 14:32:29 -0400
From: Micah A Colon <address@hidden>
Subject: 2 + 2 = H ???
To: address@hidden
Message-ID: < address@hidden>
Content-Type: text/plain; charset=us-ascii


I've compiled octave 2.1.73 on my embedded platform
using f2c and gcc 4.0.3.  Octave compiled from start
to finish, with a few (make ignored) errors with
regards to making documentation files.

Everything looks like it should run just fine but
when I start octave and enter "2 + 2", the answer
comes back "ans = H".  Basically, octave _seems_ to
behave properly (can assign variables and use them
in expressions), but the only ans to all assignments
or evaluated expressions is "H".

Has anyone seen this type of behavior before or
have any idea what the cause may be?

--
Micah Colon                                                 \|/ ____ \|/
macolon at ncsu dot edu                                     address@hidden/ oO address@hidden
404 MRC/919.515.3569                                        /_( \__/ )_\
gpg fingerprint: AE61292EC15809D0314CEB17A00EEBA1E1ED1A59      \__U_/


------------------------------

Message: 5
Date: Thu, 7 Sep 2006 21:44:43 +0200
From: "Harbinson, Jeremy" < address@hidden>
Subject: RE: Problem using plot in MacOSX tiger
To: <address@hidden>
Message-ID:
       < address@hidden>
Content-Type: text/plain;       charset="Windows-1252"




-----Original Message-----
From:   Daniel Oberhoff [mailto: address@hidden]
Sent:   Thu 9/7/2006 6:42 PM
To:     Joe Koski
Cc:     Harbinson, Jeremy; address@hidden
Subject:        Re: Problem using plot in MacOSX tiger

Joe Koski wrote:
> on 9/7/06 4:07 AM, Harbinson, Jeremy at address@hidden wrote:
>
>
>> Hi,
>> I have installed Octave 2.1.73 on a MacBook running Tiger, and installed
>> Gnuplot and Aquaterm using Fink Commander, but when I try running the plot
>> command I get the message:
>>
>> octave:3> plot(cat,dog)
>> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>> warning: in /usr/local/share/octave/2.1.73/m/plot/__plt__.m near line 85,
>> column 2:
>> warning: connection to external plotter (pid = 10867) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> octave:4> dyld: Library not loaded: /usr/local/lib/libaquaterm.1.0.0.dylib
>>   Referenced from: /usr/local/bin/gnuplot
>>   Reason: image not found
>>
>> warning: connection to external plotter (pid = 10868) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>> warning: connection to external plotter (pid = 10892) lost --
>> warning: please try your plot command(s) again
>> warning: broken pipe -- some output may be lost
>>
>> Any suggestions? - I am completely new to the Mac so maybe I have done
>> something wrong...
>> all the best,
>> Jeremy Harbinson
>>
>>
> Jeremy,
>
> On my G5 Mac, I have the following lines in a .bash_profile file in my home
> directory:
>
>   export GNUTERM=aqua
>   export DISPLAY=:0.0
>
> If that, doesn't fix the problem, I suspect you're mixing Fink and non-Fink
> applications, and you must really understand where all the files are and
> have the correct declarations in your .bash_profile to make that work.
>
> Joe
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
or check if libaquaterm.1.0.0.dylib can instead be found in /sw/lib. In
this case you can help out by:

sudo ln -s /sw/lib/libaquaterm.1.0.0.dylib /usr/local/lib/

gnu-stow can be used quite neatly to automate these kinda links, but it
does require some shell hackage (if not much).

Hmm, looking again: why is gnuplot in /usr/local/bin, doesn't fink
always go to /sw?
Do you have a gnuplot in /sw/bin? If so you might want to try deleting
(or renaming) the other gnuplot so that octave uses the right one:

sudo mv /usr/local/gnuplot /usr/local/gnuplot.out

Cheers

Daniel


Hi,
Thanks for the feedback. My Octave is in /usr/local/bin - two versions, one just plain Octave and another Octave-2.1.73, there is Gnuplot in sw/lib/gnuplot and another in usr.
Libaquaterm.1.0.0.dylib is not present - two libaquaterm are in usr/local/lib (which is directory where libaquaterm.1.0.0.dylib should have been); one is libaquaterm.1.0.1.dylib and the other is libaquaterm.dylib, though both have the same size.  I tried renaming and then copying one of these to libaquaterm.1.0.0.dylib using Finder but was unable to do so (similar response when I tried renaming a Gnuplot file). I tried copying libaqua*.dylib using sudo mv etc (sudo mv usr/local/lib/libaquaterm.1.0.1.dylib usr/local/lib/libaquaterm.1.0.0.dylib)
but got the response that there was no such file or directory - sure enough I was in my user directory. So far I have been able to change to usr by means of the cd command in BASH. This bit of OSX is bit trickier than I expected. Any suggestions?

As you guessed I have not been hygienic with the installations and have mixed Fink with non-Fink binaries on the mistaken assumption that I was working with applications that had separate folders (like DOS, OS/2 etc) and that editing the PATH statement would be the cure. I had best buy a book on the Unix side of OSX.....

Thanks, all the best,
Jeremy







------------------------------

Message: 6
Date: Thu, 7 Sep 2006 14:30:00 -0700
From: "frank wang" < address@hidden>
Subject: debug command
To: address@hidden
Message-ID:
       < address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

>From octave.sourceforge.net/compatibility.html , it says that following
debugging commands exit in octave:
debug_on_error, dbstop, dbclear, quit, dbwhere dbg_cont, dbg_step, dbg_next,
dbstatus.

However, I cannot use dbg_step, dbg_next, dbg_cont. When I type which
dbg_step in octave, it is undefined. Can anyone tell me how to find and use
these commands?

Thanks

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20060907/e02069c0/attachment-0001.html

------------------------------

Message: 7
Date: Thu, 7 Sep 2006 14:52:01 -0700
From: "frank wang" < address@hidden>
Subject: condition bug
To: address@hidden
Message-ID:
       < address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
According to the octave maual, the if statement is considered true if its
value is non-zero, and false if its value is zero. However, when I typed
following command in octave 2.9.8, I got syntax error.

if(1)
parse error:
     syntax error.


Thanks

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20060907/24477cd1/attachment-0001.html

------------------------------

Message: 8
Date: Thu, 7 Sep 2006 09:15:34 +0800
From: "W WOOD" <address@hidden>
Subject: hello,I need some DSP manul about OCTAVE........
To: address@hidden
Message-ID:
       <address@hidden >
Content-Type: text/plain; charset="iso-8859-1"

Hi!
  I am now using octave in linux, earlier  I used Matlab for Digital Signal
Processing.
Now I am not familiar with the non-GUI interface of octave, this make a
difficulty for me to enjoy the merits of octave, and have some little
obstacle for my job. Because now i can only use loctave for job.
I hope i could get the Digital Signal Processing manual from you, as we
know, the Matlab has the simulink, and has the module of DSP thereto. So i
hope i could get some help in this aspects.
Thank you a lot in advance!

Tsing  Wong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20060907/cad59d6b/attachment.html

------------------------------

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


End of Help-octave Digest, Vol 6, Issue 8
*****************************************


reply via email to

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