MATLAB
MATLAB copied to clipboard
Update readFromIniFile.m
- allow comments to sections (code change on line 108)
- trim comments on the same line with key-value pair
- code generation ready, for C/C++ embedded deployment
Test with the following dummy.ini: [Section 1] ; allowed the comment to section key11=10 ; numeric scalar key12=1.45, 19.5, 0.6, -1.4 ; numeric vector key13=1.5+3i, -2-2i ; complex numeric vector key14=Hello, Matlab! ; string