|
From: | Tom Holroyd |
Subject: | Re: differences matlab vs octave |
Date: | Wed, 9 May 2007 07:28:34 -0400 (EDT) |
Also:In Matlab, single & and | shortcut in if statements, but not in Octave, where you must use && and || to get the shortcut behavior.
(This one really falls into the category of a "bug" in Matlab, but there is enough Matlab code out there like
if isfield(cfg, 'method') & strcmp(cfg.method, 'moo') that it warrants mentioning.)
[Prev in Thread] | Current Thread | [Next in Thread] |