Problem with single quotes

Jaroslav Hajek highegg at gmail.com
Thu Oct 2 09:48:50 CDT 2008


On Thu, Oct 2, 2008 at 4:30 PM, Andreas Yankopolus <andreas at yank.to> wrote:
> I'm trying to write some Octave code that's compatible with Matlab.
> One of the differences is that Matlab uses single quotation marks, and
> I quickly ran into problems with Octave's handling of them. The
> following command should print a single quotation mark, but it gives a
> syntax error:
>
> printf ('\'');
>

Why do you think so? Does this work in Matlab? If yes, what version?



> I'm running Octave 3.0.0 on Ubuntu Hardy installed via the package
> manger. The same problem occurs on Octave 3.0.2 on OS X installed via
> Fink.
>
> Am I doing something wrong? Is this a bug?
>
> Thanks,
>
> Andreas
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Help-octave mailing list