From: joseph Frank on
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
"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