MATLAB icon indicating copy to clipboard operation
MATLAB copied to clipboard

Update readFromIniFile.m

Open Octavian-Zhang opened this issue 2 years ago • 0 comments

  1. allow comments to sections (code change on line 108)
  2. trim comments on the same line with key-value pair
  3. 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

Octavian-Zhang avatar May 07 '22 08:05 Octavian-Zhang