listvarinfile sometimes leaves the file locked
Reported by emilianospec
BUG DESCRIPTION:
----------------
After a call to listvarinfile, it'not possible to access to a file to save it
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
a = 10
b = 20
c = 30
file = 'C:\test7.sod'
save(file,'a','b','c')
[names, typs] = listvarinfile(file)
save(file,'a','b','c')
OTHER INFORMATION:
------------------