what %f\n means in fscanf(...,%f\n) ?

6 次查看(过去 30 天)
thank you

采纳的回答

Guillaume
Guillaume 2018-6-29
As explained in the documentation of fscanf, it scans for a floating point number.
I suggest you also read Reading data in a formatted pattern.

更多回答(0 个)

类别

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