HELP! MATLAB GUI and Simulink interaction
Mostra commenti meno recenti
Hello, I'm currently studying for my final exam, for which I have to deliver tomorrow a simulink model linked to a matlab gui. The GUI is used to insert constants in the simulink model. The model represents a Guidance Navigation and Control, used for missiles. It is possible to choose between 4 types of guidances.
When I start to run the GUI m-file, I keep getting an error like this:
??? Error using ==> gui>run_Callback at 694
Error due to multiple causes.
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> gui at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)gui('run_Callback',hObject,eventdata,guidata(hObject))
Caused by:
Error using ==> gui>run_Callback at 694
Error in port widths or dimensions. Output port 1 of 'MultipleGuidance_night/GUIDA/Beam Rider/Div1' has 1807
elements. This port does not accept the dimensions (or orientation) specified by the output signal
Error using ==> gui>run_Callback at 694
Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of
'MultipleGuidance_night/GUIDA/Beam Rider/FILTRO SCARTOM2'
The command window prints all the constants taken from the GUI, but there are some dimension errors when passing them to the simulink model.
I'm desperately looking for someone more expert than me that can figure out what to do, since I've been struggling with this error for weeks.
Thanks a lot! Who is gonna give a proper answer, will be invited to visit Rome! ;)
Greetings from Italy.
2 Commenti
HITESH TRIVEDI
il 24 Feb 2011
i am also searching for your query.
If i get a proper solution i'll get to you back
HITESH TRIVEDI
il 24 Feb 2011
can you go to see my question in my profile and try to solve it friend plz?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!