defining the position of input file
1 view (last 30 days)
Show older comments
I have written a code that reads from a .dat file and does some calculation and stores the results in another .dat file. Every time i have to manually edit the position of file. Now is it possible to do it in a loop? Like load('D:\mamun\research\rateconstant\K1\freq.dat'), now when i will run the program everything will remain same only K1 will change to K2, k3 and so on. Is it possible to run it in a loop? or is it possible, it will ask me to give that position? Thanks
0 Comments
Answers (2)
See Also
Categories
Find more on Low-Level File I/O in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!