Hi everybody,
I am trying to load the data from a table which is located to another file than the location of the script where I want to load it. Is it possible? Thank you in advance for your time.

 採用された回答

jonas
jonas 2018 年 6 月 3 日

1 投票

Sure, just specify the location before the filename, e.g.:
readtable('H:\folder\Table.xlsx')
you can also add the folder to the MATLAB searchpath:
addpath('H:\folder\')
readtable('Table.xlsx')

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by