I went through to fix the permission denied error that displays at the beginning of every time one opens Matlab. First, I used admin privildeges to let myself into Amir's account, then copy and pasted all the folders that he had added to the pathdef.m file. Then I copied them into E:/McNair/Software/Scripts/MatlabFolders. Then, I took myself off the permissions for Amir's folders. Next, I changed all of the path definitions that had lead to Amir's folder to start with this new path. Now, the permission denied error does not show up.
[[Matlab Usage]] [[Julia Usage]]
'''Notes 04/17'''
Running code on all potential variable paths and saving error code.
Run: monte-compare-ga
''Error using makeState (line 56)
Your fitness function must return a scalar value.
Error in gacon (line 39)
state = makeState(GenomeLength,SubFitness,Iterate,subtype,options);
Error in ga (line 363)
[x,fval,exitFlag,output,population,scores] = gacon(FitnessFcn,nvars, ...
Error in gmm_2stage_estimation (line 80)
[x_1st, trialfval] = ga(@msmf_corr_coeff, K+S+3*is_flexible, [], [], [], [], LB, UB,
@nonlinearcons_msm, options_ga);
Error in master (line 564)
gmm_2stage_estimation; ''
Run: monte-compare-fminunc