MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by John
on 13 Feb 2012

Hi there,

I have imported time values (i.e 12:57:00) into matlab using the textscan() function.

fid = fopen('time.txt','r') out = textscan(fid,'%s') fclose(fid) out{1}

However the values are in a cell array, I think?

How can I convert them to a vector? I need to do this because I want to import the data into the dfitool.

Thank you

*No products are associated with this question.*

## 0 Comments