How to add a file location in Matlab
4 ビュー (過去 30 日間)
古いコメントを表示
I am trying to run a code which requires a ".eps" file as input which is called "resource". The code convert the file into something else and save it in "destination".
function X(resource, destination)
Would you please let me know how I can enter these two variables via an example. Let's say the resource file is located in "C:\Test\res.eps" and I want to save it to "C:\Test\des"
0 件のコメント
採用された回答
Tom
2012 年 2 月 18 日
You can change the current directory (the folder Matlab is currently working in) using the cd function. e.g.
cd C:\Test\res.eps
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!