How to write out put to .ini file

17 次查看(过去 30 天)
Hi,
I have output in output.Data, and want to write this output to (dot).ini file, kindly someone help me how to do this.
output.Data:
12.4
1.0
0.8
100
80
Many thanks in advance,
  1 个评论
Jan
Jan 2017-12-27
It depends on the format you want for the .ini file. Usually these files are text files containing names of variables like this:
[Class]
Data=12.4
and so on. What do you want to be written to the file?

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2017-12-27
Look in the File Exchange. You will find a number of contributions for working with INI files. For example https://www.mathworks.com/matlabcentral/fileexchange/24992-ini-config

类别

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