Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vue (au cours des 30 derniers jours)
Bouchra Hamzaoui
Bouchra Hamzaoui le 24 Mai 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
when i run the function i have this error
any help pleaze

Réponses (2)

Mohammad Alhashash
Mohammad Alhashash le 24 Mai 2019
try this instead:
temp1=load 'Adj.mat'

Bjorn Gustavsson
Bjorn Gustavsson le 24 Mai 2019
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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by