Error in CreateOspreyJob_app/CREATEJOBButtonPushed (line 472)
MRSCont = OspreyJob(jobm,1);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating DestroyedObject PrivateButtonPushedFcn.
I tried analyzing the same data again on my Windows computer ( MATLAB R2023a), and it worked fine. However, I will need to run it on my lab’s Linux server (MATLAB R2021a), and this is when the problem occurs.
I’ve looked into your data. I was able to fully analyze the data using your jobfile in a Ubuntu 22.04.1 virtual machine and Matlab 2023a. I am still a bit puzzled about the error you are reporting as the function that results in the crash is called several times before without any failure.
Are you running this in the Matlab GUI on the server or are you running nosplash nodesktop mode?
Could you download the latest version 2.5.0 from GitHub and try again? If it is still not working I will download MATLAB R2021a and see if I can reproduce the error.
Is there any solution to fix this error now? I installed Version 2.5 first and then tried it again with Version 2.0 and 2.2 but I got the same error on all the versions. Tried using different subjects as well. My matlab version is 2021b
We managed to solve the issue (running Matlab 2021b on our Ubuntu 20.04 OS server) by moving Osprey with its subfolders to the top of the Matlab path, i.e. BEFORE the Matlab built-in functions.
Hence, the problem is likely due to calling a Matlab built-in rather than an Osprey function if the former is higher up on the path?!
Do you have the econometrics toolbox installed? If so, I’m fairly sure the crosscorr function from that toolbox is the culprit (I started investigating this the other day, but didn’t get quite far enough to confirm my suspicions – looks like you’ve figured it out in the meantime)