Import a file excel with both strings and numbers

2 ビュー (過去 30 日間)
Anna Mascaretti
Anna Mascaretti 2021 年 2 月 7 日
コメント済み: Sourabh Kondapaka 2021 年 2 月 9 日
Hello everyone!
I have to import from an Excel file into a Matlab tabel some data that are both strings and numers. If I use readtable, the table I get contains only strings, also the numers are put into '' so then I can work on them as numbers.
What can I do?
Thank you very much.
Anna
  4 件のコメント
Walter Roberson
Walter Roberson 2021 年 2 月 7 日
Given the fact that the code you give "works", I am certain there is another way. However, to tell you what the other ways are and be certain that they would work for you, I would need to know which MATLAB release you are using, and which operating system, and whether you have Excel installed; and I would need an excerpt from the file, the first few lines at least.
Sourabh Kondapaka
Sourabh Kondapaka 2021 年 2 月 9 日
If you need further help, please provide the information @Walter Roberson had asked.

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by