This code only run and only exit button can be seen. and also I dont know what to change. what should I do please help me. Thank you
2 views (last 30 days)
Show older comments
function varargout = SpeakerRecognitionTest(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @SpeakerRecognitionTest_OpeningFcn, ...
'gui_OutputFcn', @SpeakerRecognitionTest_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
function SpeakerRecognitionTest_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;
guidata(hObject, handles);
function varargout = SpeakerRecognitionTest_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
function signin_Callback(hObject, eventdata, handles)
run SpeakerRecognitionTest
run databaseRecorder
function login_Callback(hObject, eventdata, handles)
run SpeakerRecognition
run SpeakerRecognitionTest
function exit_Callback(hObject, eventdata, handles)
clc
clear all
close all
3 Comments
Answers (1)
Voss
on 5 Dec 2022
Looks like you have inadvertently placed uipanels on top of two of your uicontrols, obscuring them. I've modified the .fig file (see attached) so that those uicontrols are inside their respective uipanels. Try that.
8 Comments
Voss
on 7 Dec 2022
I have that one already. The one with the error is SpeakerRecognition.m (notice: no "Test" on the end).
Walter Roberson
on 7 Dec 2022
The problem is in SpeakerRecognition.m not in SpeakerRecognitionTest.m
See Also
Categories
Find more on Speech Recognition in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!