Changing temp directory on Ubuntu
4 次查看(过去 30 天)
显示 更早的评论
Seyed Ali Baradaran Birjandi
2019-6-13
回答: Seyed Ali Baradaran Birjandi
2019-6-13
I had small disk space on my PC. Therefore, I added a new SATA hard drive to allocate more disk space to Matlab. The new hard drive is mounted on a dircetory called /hdd2TB/. I also changed the value of environment variable 'TMP' both in the /etc/environment file and using setenv() function. Now tempdir command returns:
'/hdd2TB/'
or in terminal:
echo $TMP
/hdd2TB/
Yet, /tmp/ directory grows in size when I run my simulations and /hdd2TB/ does not change.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!