why I can not import excel number into matlab

1 view (last 30 days)
When I import the excel file into matlab, the 'FreezeFraction'column turned into NaN! Can anyone help me with that? I used MATLAB2018.

Accepted Answer

Ameer Hamza
Ameer Hamza on 9 May 2018
Use readtable():
data = readtable('BehaviorData.xls');
It will read correct data from file.
  6 Comments
AN NING
AN NING on 9 May 2018
wow, it is working well, thank you! you are so talented!

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!