load name im array
显示 更早的评论
Hello,
i have an issuse according to the load function.
load 'f(1)' % searches for a file called f(1)
what i want:
load the file named like the first entry in variable f
Thanks
采纳的回答
更多回答(1 个)
KSSV
2017-7-10
Hoping your f is a cell array of names of the files in the folder..you may use.
load f{1}
1 个评论
Walter Roberson
2017-7-10
No, that is equivalent of load('f{1}')
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!