Can't deselect all when importing from .mat file
4 次查看(过去 30 天)
显示 更早的评论
Currently using 2018b.
I can't find a way to deselect all variables (in order to select only 1 or 2) from a file when using import.
Doesn't seem possible, is there a way to do this?
0 个评论
回答(1 个)
Hari Krishna Ravuri
2020-3-11
I understand that you want to select only few variables, while deselecting all other variables in the Import Wizard. But as of now, deselecting all the variables in a single step is not possible.
As a workaround you may consider using load to import specific variables from .mat file
For example, to load the variable named X from durer.mat file, these statements are equivalent
load durer.mat X % command form
Or
load('durer.mat', 'X') % function form
Hope this helps!
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!