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
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