Info

この質問は閉じられています。 編集または回答するには再度開いてください。

hi , i am very new to matlab so i have a probeme , whenerver i run the function below i get that the input which is matrix is undefined , i load the matrix in my current folder but the error still

1 回表示 (過去 30 日間)
Bouchra Hamzaoui
Bouchra Hamzaoui 2019 年 5 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
when i run the function i have this error
any help pleaze

回答 (2 件)

Mohammad Alhashash
Mohammad Alhashash 2019 年 5 月 24 日
try this instead:
temp1=load 'Adj.mat'

Bjorn Gustavsson
Bjorn Gustavsson 2019 年 5 月 24 日
In your base workspace you should load the Adj-matrix and call your function with that as input:
load Adj.mat Adj % The last Adj is to inform the matlab-code-snooper about what is loaded for JIT-optimization et al.
psi = FeaturesFromAdjacentMatrix(Adj);
HTH

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by