フィルターのクリア

Proper Installation of Tensor Toolbox

54 ビュー (過去 30 日間)
Trulyse
Trulyse 2024 年 3 月 18 日
回答済み: Christine Tobler 2024 年 3 月 18 日
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.

回答 (1 件)

Christine Tobler
Christine Tobler 2024 年 3 月 18 日
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.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by