Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readFromIniFile.m #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Octavian-Zhang
Copy link

  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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant