Guest User

Untitled

a guest
Mar 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. % --- Executes when selected object is changed in BoundaryConditionPanel.
  2. function BoundaryConditionPanel_SelectionChangedFcn(hObject, eventdata, handles)
  3. % hObject handle to the selected object in BoundaryConditionPanel
  4. % eventdata reserved - to be defined in a future version of MATLAB
  5. % handles structure with handles and user data (see GUIDATA)
  6. load('Properties.mat')
  7. switch get(eventdata.NewValue, 'Tag')
  8. case 'Cantilever_Toggle'
  9. Properties.B = 1;
  10. case 'SimplySupported_Toggle'
  11. Properties.B = 2;
  12. case 'FixedFixed_Toggle'
  13. Properties.B = 3;
  14. case 'CantileverRollerSupport_Toggle'
  15. Properties.B = 4;
  16. end
  17. save('Properties.mat','Properties');
Add Comment
Please, Sign In to add comment