Starting gui, locked txt for python -> matlab