Matlab script question
2 次查看(过去 30 天)
显示 更早的评论
Take for example my script.m file has "A + B", and I have a .txt file that has two columns with x rows. I have assigned one of those columns as A, and another as B.
My question is how do I run the script.m file so that it uses those A and B values from the txt file? The only message I seem to get is that I have undefined variables for A and B, when I have already assigned them as such.
1 个评论
Walter Roberson
2012-6-11
Duplicate is at http://www.mathworks.com/matlabcentral/answers/40800-matlab-script-question-quick
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!