필터 지우기
필터 지우기

Importing a certain value on the cell (Excel)

조회 수: 2 (최근 30일)
ugur uresin
ugur uresin 2018년 6월 29일
댓글: ugur uresin 2018년 6월 29일
My problem is quite specific. I would like to import a certain value on the excel cells. The problem is that cell includes both text and numbers. For example "G(function1): Expected Value=0.5" I just like to import 0.5 value from this cell to matlab. How can I do that?
  댓글 수: 1
Stephen23
Stephen23 2018년 6월 29일
"How can I do that?"
Import the text, then extract the value. What have you tried so far?

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

채택된 답변

Jan
Jan 2018년 6월 29일
Something like this might work:
[num, txt] = xlsread(FileName, 'C5:C5');
[dum, str] = strtok(txt{1}, '=');
str(1) = [];

추가 답변 (0개)

카테고리

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