how can one specify a directory that websave saves files?

조회 수: 3(최근 30일)
alpedhuez 2022년 3월 12일
댓글: alpedhuez 2022년 3월 12일
I want to specify a directory that websave saves files. I checked says to add the directory name to the file name. But I would hope to change the directory outside websave, Please advise.

채택된 답변

Jan 2022년 3월 12일
Using full path names is the reliable and efficient solution:
Folder = 'C:\Your\Favorite\Folder';
File = 'AsYouWant.html';
URL = '';
websave(fullfile(Folder, File), URL)

추가 답변(0개)



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by