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 天)
显示 更早的评论
when i run the function i have this error ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220870/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220870/image.png)
any help pleaze
0 个评论
回答(2 个)
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
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!