How to set ini value with INI Config
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi,
I am using INI Config to read from and write to a custom .ini-file. The reading works perfectly, I use the GetValues-Function for that.
However, I cannot get the SetValues-Function to work. I do not get an Error but the value in my .ini-file does not change either.
[~] = ini.SetValues('Category','SettingA','Teststring');
Nothing happens. Does anybody know what I am doing wrong here?
Thanks in advance!
댓글 수: 4
Geoff Hayes
2018년 11월 22일
MIchael - could you paste the code that you have written that creates the ini file (with default settings) and then the code that updates the file (which "corrupts" it).
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!