help-octave
[Top][All Lists]
Advanced

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

Re: Comments Statements in Octave


From: Ben Abbott
Subject: Re: Comments Statements in Octave
Date: Wed, 24 Mar 2010 07:41:49 -0400

On Mar 24, 2010, at 2:28 AM, Jordan Ellis wrote:

> I have been running Octave 3.0.3 on a Mac with  OS 10.6 and I consistently 
> find that Octave errors off when in encounters
> a comment statement  defined by either a # or a %.  Typically in order to 
> port a Matlab program to run on Octave
> I have to remove all comments.
> 
> Do you have any suggestions ?

Comments beginning with "%" will not cause an error in Matlab or Octave. 
Comments beginning with "#" will give an error in Matlab, but not Octave.

Ben



reply via email to

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