1. 程式人生 > >Matlab如何新增或移除子資料夾路徑

Matlab如何新增或移除子資料夾路徑

添加當前資料夾的路徑

addpath(pwd)

移除當前資料夾的路徑

rmpath(pwd)

添加當前資料夾以及所有子資料夾的路徑

addpath(genpath(pwd))

移除當前資料夾以及所有子資料夾的路徑

rmpath(genpath(pwd))