The key value pairs can be extracted from text file using Regular expression and then they can be used to put in list boxes. Check the following code which would be helpful to extract the key value pairs from the text file.
str=fileread('example.txt'); % example.txt is the file name
s=regexp(str,'(\w+\s*\w+)=(\d+)','tokens');%regexp returns a cell array which contains key value pairs.