automatic filename saving
Afficher commentaires plus anciens
hi all, i cant seem to find what im looking for, if you had a simple function such as the one below, is it possible for matlab to automatically detect the file name to save it under?
function help
%user input data which will change each time
A = [1; 2; 3]; B = [1; 3; 3];
%save data
save("filename", A); save("filename", B);
end
is there a line of code which instead of the user specifying the name each time, for matlab to just save it under a different name each time the code is run and for different values of A and B thanks kyle
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Audio and Video Data dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!