See "for" and "input". See also fprintf(), dlmwrite(), and save() with the -ascii option.
Ask for help to solve the question.
37 次查看(过去 30 天)
显示 更早的评论
write a script to input an integer number between 0 and 255, and output the number to the screen between the characters '< ' and ' > ' . This input and display operation should be repeated 10 times. After the 10th iteration the script should save all the input numbers to a text file in a human readable form.
I have no idea to do it.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!