Problem in runnning .m file
显示 更早的评论
i am using 'uiimport' to import experimental data,seperated by comma(in .txt format). I wrote .m code file to plot these data like to plot(data(:,1),data(:,2)) My query is to how to add uiimport to this .m file.. when i add this to .m file it ends up giving error"data(:,1),data(:,2) does not exist. Presently i am importing file first afterwards running .m file.Can somebody tell me is it possible to include import in .m file itself
采纳的回答
更多回答(1 个)
Walter Roberson
2012-5-17
Before the uiimport, have a
whos
call. Have another one after the uiimport. Compare the two to see what variable name(s) have been created in the workspace.
类别
在 帮助中心 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!