Link to home
Start Free TrialLog in
Avatar of sebastizz
sebastizz

asked on

matlab error

I am trying to get the dicom file info (just an image filetype) for a file name but I keep on getting the error when I put the command in as follows


>> info = dicominfo (//Datacentre/Shares/Users1/SSZ20/Desktop/AC_CT_2001_CT001.dcm)


 info = dicominfo (//Datacentre/Shares/Users1/SSZ20/Desktop/AC_CT_2001_CT001.dcm)
                   |
Error: Unexpected MATLAB operator.

I dont know what Im doing wrong. Help
ASKER CERTIFIED SOLUTION
Avatar of sebastizz
sebastizz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I doubt the file needs to always be in the matlab path. That would be a very restrictive way for matlab to work.

From the documentation on the web it is pretty obvious that you should be able to point to a location on the hard disk

Take a look at
http://www.itu.dk/stud/speciale/segmentering/DittesBinfolder/bin/MATLAB6p5p1/help/toolbox/images/intro19.html#29911
also look at
http://www.mathworks.com.au/help/images/ref/dicominfo.html

In a production environment can you always ensure that the DICOM files will be in the same folder as the installation