[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: displaying an image
From: |
Mike Miller |
Subject: |
Re: displaying an image |
Date: |
Fri, 4 Sep 2015 11:03:57 -0400 |
On Thu, Sep 3, 2015 at 12:43:15 -0700, lana frankle wrote:
> Do you know if those errors (the lack of space for help and doc and the
> colon instead of the semicolon) are correct for MATLAB, just not Octave? Or
> are they just errors?
Ending a line with a colon is simply invalid syntax, in both Matlab and Octave.
Note the "lack of space" is not an error, it's the difference between
these two commands
>> help(imagesc)
>> help imagesc
It's not the space that matters, it's the parentheses around the
arguments. The first form is calling the imagesc() function with no
arguments (which is what produces the error you see) and then attempts
to pass the return value to the help function.
The second form is the same as
>> help("imagesc")
See https://www.gnu.org/software/octave/doc/interpreter/Commands.html
Hope that clears things up,
--
mike
- displaying an image, lana frankle, 2015/09/02
- Re: displaying an image, James Sherman Jr., 2015/09/02
- Re: displaying an image, Nicholas Jankowski, 2015/09/02
- Message not available
- Re: displaying an image, Nicholas Jankowski, 2015/09/02
- Message not available
- Message not available
- Message not available
- Re: displaying an image, Nicholas Jankowski, 2015/09/02
- Re: displaying an image, lana frankle, 2015/09/02
- Re: displaying an image, Mike Miller, 2015/09/02
- Re: displaying an image, lana frankle, 2015/09/02
- Re: displaying an image, lana frankle, 2015/09/03
- Re: displaying an image,
Mike Miller <=
- Re: displaying an image, lana frankle, 2015/09/12
- Re: displaying an image, Andy Buckle, 2015/09/12
- Re: displaying an image, lana frankle, 2015/09/12
- Re: displaying an image, Nicholas Jankowski, 2015/09/12
- Re: displaying an image, lana frankle, 2015/09/12
- Re: displaying an image, Ben Abbott, 2015/09/12
- Re: displaying an image, lana frankle, 2015/09/12
- Re: displaying an image, Nicholas Jankowski, 2015/09/12
- Message not available
- Message not available
- Re: displaying an image, lana frankle, 2015/09/12
- Re: displaying an image, Doug Stewart, 2015/09/12