R2013a Linux Mint + LibreOffice

10 ビュー (過去 30 日間)
f24
f24 2017 年 3 月 27 日
コメント済み: Chinmayi Lanka 2017 年 3 月 30 日
I am fairly new to matlab and transitioned to linux mint a few days ago. Whenever i use the xlsread() function on a spreadsheet (does not change whether I use .ods .xlsx or other formats) to import data I get NaN entries for some values. Furthermore it seems that Matlab does not import the whole data set. I tested this with a .xlsx file containing 70 values dived ed in two columns. When i defined x using x=xlsread('path','','','basic') Matlab showed only every 5th value, starting with the 5th one. The rest was shown as NaN and the values 1-5 didn't even show up. I did exactly the same 1 week ago on a windows PC and everything went just fine. Additionally Matlab wont allow me to import just using the explorer, always telling me: "index exceeds matrix dimensions"
  1 件のコメント
Chinmayi Lanka
Chinmayi Lanka 2017 年 3 月 30 日
Are there any special characters in the cells that are read incorrectly?
You can also provide the range of cells you wish to read:
[xlnum,xltxt] = xlsread(fname,'Sheet1','A1:AA131','basic')

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by