How to read from a variable excel cell?

조회 수: 1 (최근 30일)
Jonathan Babitsch
Jonathan Babitsch 2020년 7월 24일
댓글: Jonathan Babitsch 2020년 7월 24일
Hey everybody,
I have a question I don´t find a solution for...
How can i read from a variable excel cell?
I have a variable excel cell I need to read from.
Like for example it is in column A in excel, but now line 10 and in another case 20... And the exact line is calculated before and I want to read from the variable line?
Is that possible?
Thank you guys in advance!
Johnny

채택된 답변

Walter Roberson
Walter Roberson 2020년 7월 24일
N = 55;
cellrange = sprintf('A%d:C%d', N, N);
Kmittelpunkt = xlsread('S:\AM-Design\WORK_Folder_Abschlussarbeiten_Kohler_Gerstadt_Babitsch\eigener_Aufbau\Spline.xlsx', 1, cellrange);
  댓글 수: 1
Jonathan Babitsch
Jonathan Babitsch 2020년 7월 24일
Great as always!!
Big thank you for your help, appreciate it!

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

추가 답변 (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