MATLAB: Define the deafult path for uisave pathuisave Hi everybody, I'm using the uisave command to store some data, but I can't define the default path that uisave command will use. Is there a way to do it? Thanks in advance, Daniele Best Answer Setting the current folder with the folder that I want solved my problem:FileName='Deafult_Monitored_Points.mat'L1=length(FileName);location=which(FileName);L2=length(location);folder=location(1:[L2-L1-1]);cd(folder);uisave({'Data','RowNames','ID_FixedPoints','Color1','Color2','Color3','Color4'},FileName); Related SolutionsMATLAB: Guardar y cargar una red nueronal entrenda Usas>> save('net.mat', 'net')en lugar de>> save('net')El argumento segundo es el variable que quieres guardar especificamente.Veas el documento - SAVE:https://jp.mathworks.com/help/matlab/ref/save.html MATLAB: Saving all of workspace in a specified folder Saving to pathsave('path\myfile.mat');Example: save('D:\WORKING\Myfile.mat');Loading from a pathload('path\myfile.mat');Example: load('D:\WORKING\Myfile.mat'); Related QuestionHow to change the line color in a graph using plotSaving large files using uisaveProblems to open images after I have saved it in a folderSave output for specific folderWhere you saved the file upload? using GUIHow to save a variable to external harddisk
Best Answer