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 Exchange에서 Tables에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by