[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: About "warning: implicit conversion from matrix to string"
From: |
John W. Eaton |
Subject: |
RE: About "warning: implicit conversion from matrix to string" |
Date: |
Thu, 20 May 2010 10:51:04 -0400 |
On 20-May-2010, Ben Abbott wrote:
| On Thursday, May 20, 2010, at 09:42AM, "John W. Eaton" <address@hidden> wrote:
| >On 20-May-2010, Richardson, Anthony wrote:
| >
| >| Alternatively, replace the above line in print.m with:
| >|
| >| if(isempty(ghostscript_binary))
| >| have_ghostscript = 0;
| >| else
| >| have_ghostscript = (exist (ghostscript_binary, "file") == 2);
| >| endif
| >|
| >| to make the warning go away.
| >
| >How does ghostscript_binary ever get set to [] instead of ""?
| >
|
| The following command produces the empty result ...
|
| ghostscript_binary = file_in_path (EXEC_PATH, gs_binaries{ng});
|
| For example, typing the following returns [] 0x0.
|
| file_in_path (EXEC_PATH, "FOOBAR")
I don't know why file_in_path should return [] instead of "" if no
file exists.
jwe
- About "warning: implicit conversion from matrix to string", cookyzhao, 2010/05/20
- Re: About "warning: implicit conversion from matrix to string", Ben Abbott, 2010/05/20
- Message not available
- Re: About "warning: implicit conversion from matrix to string", Ben Abbott, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Dr.cryo, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Dr.cryo, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Richardson, Anthony, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", John W. Eaton, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Richardson, Anthony, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Ben Abbott, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string",
John W. Eaton <=
- RE: About "warning: implicit conversion from matrix to string", John W. Eaton, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Ben Abbott, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Dr.cryo, 2010/05/20
- RE: About "warning: implicit conversion from matrix to string", Richardson, Anthony, 2010/05/20