Here are some random scripts that I made to work with cobra toolbox in matlab