I need to write multiple file names into a text file.

1 view (last 30 days)
I am supposed to name my file name as 921.src.bmp.txt(it will change after every iteration) and want to write my multiple image file names in that file(921.src.bmp). How to write this part of code.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 5 Aug 2015
k=921
filename=sprintf('%d.src.bmp.txt',k)

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!