Re: Operands to the || and && operators must be co
- From: "Margarita Kutchin" <margarita05@xxxxxx>
- Date: Sun, 19 Feb 2006 18:23:15 -0500
sorry for not having been more clear.
i meant this: put the additional two lines right underneath the
command <err=...>
err=lasterror;
err.message
err.stack
% -or- enter the debug mode right after the first command
keyboard
% and scrutinize <err> at the (debug) command prompt
us
I have added two lines
%%%%%
catch %in case of any error
ErrorOnDicomOpening = lasterr
err=lasterror
err.message
err.stack
if isobject(hm)
delete(hm);
end
dcmPatient = [];
end
%%%%%%
, now I get
//////////////////////////////////////////////
loaddcmdir
ErrorOnDicomOpening =
Operands to the || and && operators must be convertible to logical
scalar values.
err =
message: 'Operands to the || and && operators must be
convertible to logical scalar values.'
identifier: 'MATLAB:nonLogicalConditional'
stack: [9x1 struct]
ans =
Operands to the || and && operators must be convertible to logical
scalar values.
ans =
9x1 struct array with fields:
file
name
line
/////////////////////////////////////////////////
if you want see it, I can send you a dicomdir file from my CD via
email. I am sorry to make you so much stress.
P.S.: With uigetfile I can select only one file and not an array,
seconds if I try to load this one file I don^t get its name:
///////////////////////////////////////////////////
ErrorOnDicomOpening =run('C:\Programme\MATLAB71\work\loaddcmdir\loaddcm.m')
Error using ==> dicominfo>get_info
File "G:\01111026\0" not found.
/////////////////////////////////////////////////////
I navigate to file location, select a file and instead of its name I
get "0" (zero), but it is now not so important for me, more important
is to interpret a Dicomdir functionality and to understand why did it
work in previous version of MatLab......
.
- Follow-Ups:
- References:
- Operands to the || and && operators must be convertible to logical scalar values.
- From: Margarita Kutchin
- Re: Operands to the || and && operators must be convertible to logical scalar values.
- From: us
- Re: Operands to the || and && operators must be co
- From: Margarita Kutchin
- Re: Operands to the || and && operators must be co
- From: us
- Operands to the || and && operators must be convertible to logical scalar values.
- Prev by Date: Re: NN squishing too much
- Next by Date: Re: training performance...
- Previous by thread: Re: Operands to the || and && operators must be co
- Next by thread: Re: Operands to the || and && operators must be co
- Index(es):
Relevant Pages
|