Prev: hdrread function issue (Image processing toolbox)
Next: Generation of Digitally reconstructed radiograph (DRR)
From: joseph Frank on 19 Apr 2010 15:06 Hi, I am connection matlab to access using the function posted in the "file exchange section" http://www.mathworks.com/matlabcentral/fileexchange/13621-ado-ole-database-connection when I select the columns I am getting the tables as cell arrays . Using cell2mat is resulting numbers in" int32 " format. How can I get them as doubles instead of 'int32'? thx
From: Wayne King on 19 Apr 2010 18:52
"joseph Frank" <josephfrank1969(a)hotmail.com> wrote in message <hqi9is$9le$1(a)fred.mathworks.com>... > Hi, > > I am connection matlab to access using the function posted in the "file exchange section" > http://www.mathworks.com/matlabcentral/fileexchange/13621-ado-ole-database-connection > > when I select the columns I am getting the tables as cell arrays . Using cell2mat is resulting numbers in" int32 " format. How can I get them as doubles instead of 'int32'? > thx Hi Frank, I haven't looked at the file on the file exchange, but what about just casting them to doubles, does that work for you? output = double(cell2mat(C)); Wayne |