MATLAB: Open a folder outside of MATLAB folderopen The folder is in this directory: G:\name1\inputs. I want to open input folder, outside of MATLAB by command. any idea? Best Answer I am assuming by your directory structure you have Windows:winopen('G:\name1\inputs'); Related SolutionsMATLAB: Can I open the current directory outside MATLAB by right-clicking in it in MATLAB 7.4 (R2007a) Tha ability to open the current directory outside MATLAB by right clicking is not available.As a workaround, you can click on the 'Go up one level' button and then right-click on the required folder and select 'Open outside MATLAB' option. MATLAB: Creating folders outside of the current folder Of course, just define the parentFolder, or use a relative/absolute path:https://www.mathworks.com/help/matlab/ref/mkdir.html#f7-607707-parentFolderhttps://www.mathworks.com/help/matlab/matlab_env/specify-file-names.htmlI also recommend using function syntax:https://www.mathworks.com/help/matlab/matlab_prog/command-vs-function-syntax.htmlPutting it all together:mkdir(ParentFolder,NewSubFolder)mkdir(fullfile(ParentFolder,NewSubFolder)) Related QuestionOpen folder in MatlabExpand current folder to open fileRemoving a folder from a directory outsaide the current directory of MatlabProblem with identification of strings
Best Answer