Warning: File: C:\Users\hxl9400\AppData\Local\Temp\hxl9400\mcrCache9.4\CRDIR_2\CRDIR\CRDIR.m Line: 533 Column: 53 The temporary variable newIm will be cleared at the beginning of each iteration of the parfor loop. Any value assigned to it before the loop will be lost. If newIm is used before it is assigned in the parfor loop, a runtime error will occur. See Parallel for Loops in MATLAB, "Temporary Variables". Error using matlab.ui.internal.dialog.FolderChooser/doShowDialog (line 70) Java exception occurred: java.lang.IllegalArgumentException: eval requires a valid MCR id when running in standalone mode. at com.mathworks.jmi.NativeMatlab.PostMatlabMessage(Native Method) at com.mathworks.jmi.NativeMatlab.postMatlabMessage(NativeMatlab.java:224) at com.mathworks.jmi.NativeMatlab.postMatlabMessage(NativeMatlab.java:240) at com.mathworks.jmi.MatlabLooper.postMatlabMessage(MatlabLooper.java:150) at com.mathworks.jmi.MatlabMCR.postAsync(MatlabMCR.java:1542) at com.mathworks.jmi.MatlabMCR.eval(MatlabMCR.java:518) at com.mathworks.jmi.Matlab.eval(Matlab.java:1197) at com.mathworks.jmi.MatlabPath$PathCallback.completed(MatlabPath.java:1449) at com.mathworks.jmi.MatlabMCR$InterestHandler.messageReceived(MatlabMCR.java:1663) at com.mathworks.jmi.NativeMatlab.ProcessPendingEvents(Native Method) at com.mathworks.jmi.NativeMatlab.processPendingEvents(NativeMatlab.java:508) at com.mathworks.jmi.AWTUtilities$MatlabLatch.safeWait(AWTUtilities.java:892) at com.mathworks.jmi.AWTUtilities$MatlabLatch.waitFcn(AWTUtilities.java:907) at com.mathworks.jmi.AWTUtilities$Latch.acquire(AWTUtilities.java:770) at com.mathworks.jmi.AWTUtilities$Invoker.invoke(AWTUtilities.java:500) at com.mathworks.jmi.AWTUtilities.invokeAndWaitInternal(AWTUtilities.java:250) at com.mathworks.jmi.AWTUtilities.invokeAndWait(AWTUtilities.java:111) Error in matlab.ui.internal.dialog.FolderChooser/show (line 48) Error in uigetdir_helper (line 32) Error in uigetdir (line 61) Error in CRDIR>pushbutton2_Callback (line 259) Error in gui_mainfcn (line 95) Error in CRDIR (line 161) Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)CRDIR('pushbutton2_Callback',hObject,eventdata,guidata(hObject)) Error using pause (line 20) Error while evaluating UIControl Callback. mp4 indir = 'C:\CRDIR\CRDIR Github Repository\Github Rev 2.05\CRDIR\for_redistribution_files_only' files = 1x1 cell array {'C:\CRDIR\test_images\nasavid_cut.mp4'} directory = 'C:\CRDIR\CRDIR Github Repository\Github Rev 2.05\CRDIR\for_redistribution_files_only' Root = 'C:\Program Files\MATLAB\R2018a' ctf = 'C:\Users\hxl9400\AppData\Local\Temp\hxl9400\mcrCache9.4\CRDIR_2' h = Figure (TMWWaitbar) with properties: Number: [] Name: '' Color: [0.9400 0.9400 0.9400] Position: [465 421.8750 270 56.2500] Units: 'points' Use GET to show all properties finished = 'TRUE' handles = struct with fields: close: 1