Proper Installation of Tensor Toolbox
45 views (last 30 days)
Show older comments
Hey, I am working on an assignment due tonight and I am trying to perfrom Tucker decomposition in MATLAB. I went online to find a toolbox that would help me based on example code from class. I found a tensor_toolbox from this website calledd: https://www.tensortoolbox.org/. I attempted to download there latest version of it which is probably not matching the version of MATLAB I am using, but I still attempted. Can you provide me with step by step instructions on how to get MATLAB to recognize it in my path? I don't think I am adding it in the right place on my computer. I am just lost at the moment.
0 Comments
Answers (1)
Christine Tobler
on 18 Mar 2024
Find the path the folder that defines the class you want to use. My guess is for Tucker this will be the ttensor class (but it's been a while for me since I used this), so you would look for a folder called @ttensor.
Call addpath function in MATLAB with the path to the folder that contains the @ttensor folder. At that point, you should be able to call the constructor of this class.
Generally, it's probably better to look for some readme file in the main directory of this toolbox, which is likely to tell you all the folders you should add to the path to be able to use all the functionality of the toolbox.
0 Comments
See Also
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!