Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % --- Executes when selected object is changed in BoundaryConditionPanel.
- function BoundaryConditionPanel_SelectionChangedFcn(hObject, eventdata, handles)
- % hObject handle to the selected object in BoundaryConditionPanel
- % eventdata reserved - to be defined in a future version of MATLAB
- % handles structure with handles and user data (see GUIDATA)
- load('Properties.mat')
- switch get(eventdata.NewValue, 'Tag')
- case 'Cantilever_Toggle'
- Properties.B = 1;
- case 'SimplySupported_Toggle'
- Properties.B = 2;
- case 'FixedFixed_Toggle'
- Properties.B = 3;
- case 'CantileverRollerSupport_Toggle'
- Properties.B = 4;
- end
- save('Properties.mat','Properties');
Add Comment
Please, Sign In to add comment