Trouble using readtable function

1 次查看(过去 30 天)
Hello!
I am trying to read a .txt file into a table in MATLAB, using
TGWAS = readtable(AD_magma_genes.txt, 'FileType', 'text')
But I keep getting the error 'Unable to resolve the name AD_magma_genes.txt'
I put the file in the same folder I have been using for everything so far, and it still doesn't want to read it into MATLAB. Any idea how I can fix this problem?
Thank you!

采纳的回答

Arif Hoq
Arif Hoq 2022-4-17
编辑:Arif Hoq 2022-4-17
you need to specify the file with single quotation.
TGWAS = readtable('AD_magma_genes.txt')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by