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 694Error due to multiple causes.Error in ==> gui_mainfcn at 96feval(varargin{:});Error in ==> gui at 42gui_mainfcn(gui_State, varargin{:});Error in ==> @(hObject,eventdata)gui('run_Callback',hObject,eventdata,guidata(hObject))Caused by:Error using ==> gui>run_Callback at 694Error in port widths or dimensions. Output port 1 of 'MultipleGuidance_night/GUIDA/Beam Rider/Div1' has 1807elements. This port does not accept the dimensions (or orientation) specified by the output signalError using ==> gui>run_Callback at 694Error 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.
Best Answer