ASCII file

1 次查看(过去 30 天)
lowcalorie
lowcalorie 2012-5-23
i need a code sequence to save variable to a single ASCII file named mydata.asc

回答(1 个)

Oleg Komarov
Oleg Komarov 2012-5-23
a = rand(10,2)
save('mydata.asc','a','-ascii')

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by