Proper Installation of Tensor Toolbox
33 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Christine Tobler
le 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 commentaires
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!