From: luke stone on
I have a parameter in simulink known as 'a' . I want the GUI to assign this value 'a'.
For the pushbutton function the code:

% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

What is the code i need to put below this to assign this value 'a'?

thanks
 | 
Pages: 1
Prev: MINLP in MATLAB
Next: Plotting with a smooth curve