How to set ini value with INI Config
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Michael Critchfield
el 22 de Nov. de 2018
Editada: Michael Critchfield
el 23 de Nov. de 2018
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 comentarios
Geoff Hayes
el 22 de Nov. de 2018
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).
Michael Critchfield
el 22 de Nov. de 2018
Editada: Michael Critchfield
el 23 de Nov. de 2018
Respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!