I have the following settings.ini file (its a basic text file):
;delay of calibration start (in seconds) after scanning the DUT serial number
intCalibrationStartDelay = 5
;directory path at which the log files are saved
strSaveFilePath = ''
;COM port of the power meter
strPowerMeterCOMPort = COM4
I would like to read it as a table, with each line of it becoming an element in my table, and for this, I use the following:
SettingsData = readtable('settings.ini',"FileType","text","Delimiter",'\r\n',"ReadVariableNames",false,"ReadRowNames",false,"TextType",'string');
For some reason, however, the first two lines of the file do not get imported, any idea why? The result of the instruciton above is always:
";directory path at which the log files are saved"
";COM port of the power meter"