is the following method possible to implement in Matlab:
If I run my function, it will load some mat files into the workspace. They are quite big and need over a secound for loading. As for this program, every second is really important, I am asking myself, if it is possible to load the mat files only at the first run after opening Matlab and after that just use them from the workspace?
I tried to not use clear and to check if the variable already exists with the exist function. Unfortunatly, this method doesn't work.
Do you have any suggestions?
Thank you very much in advance.