How to read from a variable excel cell?

4 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by