I have created GUI, I am trying to acess variable featureVector from one function to another function.
Kindly help me.
Here is my code of functions:
% --- Executes on button press in pushbutton4.
function pushbutton4_Callback(hObject, eventdata, handles) featureVector = extractHOGFeatures(Img);% --- Executes on button press in pushbutton5.
function pushbutton5_Callback(hObject, eventdata, handles)Classifier=trainedClassifier;Label=Classifier.predictFcn(featureVector);
Best Answer