Importing from excel to matlab

조회 수: 1 (최근 30일)
Danielle Leblanc
Danielle Leblanc 2011년 8월 8일
Hi,
I am trying to import a table from excel to matlab but I am facing many problems:
1.R (superscript) 2 (i.e. r square) becomes R2
2.α and β disappeared
3.Merged cells that are underlined return back to multiple cell where the first one contains the string of the merged cells and the underline disappear.
Is there a way to overcome these problems when importing from excel to matlab?

답변 (1개)

Oleg Komarov
Oleg Komarov 2011년 8월 8일
Those issues pertain to the format which is not preserved when importing. I guess you could use ActiveX to parse the excel and retrieve the various formats and apply them to the data once imported but it's not a trivial task.
  댓글 수: 2
Danielle Leblanc
Danielle Leblanc 2011년 8월 8일
Is there at least a way to write them in a cell array using matlab.I mean can I write aplha , beta and superscripts in matlab?
Oleg Komarov
Oleg Komarov 2011년 8월 8일
Not that I know of.
You can display as a text label:
text(.5,.5,'a','FontN','symbol')

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by