一、下载需要的压缩包
https://www.sandia.gov/~tgkolda/TensorToolbox/thankyou-2.5.html
二、详细配置过程
1、解压tensor_toolbox_2.5.zip
2、将解压出来的文件夹tensor_toolbox_2.5拷贝到malab安装文件中的toolbox文件夹下,并将tensor_toolbox_2.5改名为tensor_toolbox
3、启动malab,在matlab窗口中中找到Current Folder,从根目录中找到tensor_toolbox文件夹
4、在matlab窗口中运行以下命令:
addpath(pwd) %<-- Add the tensor toolbox to the MATLAB path
cd met; addpath(pwd) %<-- Also add the met directory
savepath %<-- Save for future MATLAB sessions