File Exchange

image thumbnail

INI Config

version 1.3.0.0 (9.32 KB) by Evgeny Pr
The class for working with configurations of settings and INI-files.

33 Downloads

Updated 22 Mar 2010

View License

This class allows you to create configurations of settings, and to manage them.
The structure of the storage settings is similar to the structure of the storage the settings in the INI-file format.
The class allows you to import settings from the INI-file and to export the settings in INI-file.
Can be used for reading/writing data in the INI-file and managing settings of application.

Comments and Ratings (11)

Great function! But am I doing it wrong or can SetValues not set ‘String‘?

Du Xiao

It is usefull!

Liu Yang

Pedro Arevalo

huachao mao

Works perfectly.

Nick Manov

Really nice tool. I would love to be able to use it for cell arrays though.

FXnr

FXnr (view profile)

Song

Song (view profile)

working great!!

It works as expected, but I would prefer a better documentation with realistic examples.

Is there a way to write comments in the ini file (i mean from the software with the tools available, not with fwrite..)?

xiong

xiong (view profile)

very well

Updates

1.3.0.0

-Added ability to set the format (C-printf) in SetValues.
-Rewritten SetValues/GetValues.
-Other multiple changes and corrections.

1.2.0.0

- Errors are corrected
- added 'example.ini' and 'demo_iniconfig.m'

1.1.0.0

Changed:
-Now all the methods working behind the times with many data.
-It is possible not to specify default values in the method GetValues.
-Added the method ToString

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor