1 year ago

#378068

test-img

khoma

read and update a txt file in Scilab

I want to read and update my '.txt' file with the name 'Stock' and contain the following data:

Nom Nombre Code

Pull 25 Ni

Pantalon 12 L

Foulard 33 N

How I can remove one article or add a new one in the same file and then save it?

I succeeded in opening the file and reading the data in the form of structure, then I added a new item. I want to know how to save this new data in the 'stock.txt' file.

save

load

readfile

scilab

0 Answers

Your Answer

Accepted video resources