How to write out put to .ini file

조회 수: 17 (최근 30일)
Mekala balaji
Mekala balaji 2017년 12월 27일
답변: Walter Roberson 2017년 12월 27일
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