How to write out put to .ini file

15 views (last 30 days)
Mekala balaji
Mekala balaji on 27 Dec 2017
Answered: Walter Roberson on 27 Dec 2017
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 Comment
Jan
Jan on 27 Dec 2017
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?

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 27 Dec 2017
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

Tags

Community Treasure Hunt

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

Start Hunting!