I am updating my code from GUIDE and have found a strange effect using uigetfile. It works fine in GUIDE.
what happens is when I run this, whilst it works, my app switches and makes the matlab command window come to the front. Althought I can just reselect my app, its not ideal. Thanks for any pointers.
This is my code.
where startfolder is defined as a public property
properties (Access = public)
and initiated in the StartupFCN: