{"action":"created","issue":{"url":"https://api.github.com/repos/davpaez/contract-design/issues/5","labels_url":"https://api.github.com/repos/davpaez/contract-design/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/davpaez/contract-design/issues/5/comments","events_url":"https://api.github.com/repos/davpaez/contract-design/issues/5/events","html_url":"https://github.com/davpaez/contract-design/issues/5","id":92257919,"number":5,"title":"Load button does not clear classes","user":{"login":"davpaez","id":10409342,"avatar_url":"https://avatars.githubusercontent.com/u/10409342?v=3","gravatar_id":"","url":"https://api.github.com/users/davpaez","html_url":"https://github.com/davpaez","followers_url":"https://api.github.com/users/davpaez/followers","following_url":"https://api.github.com/users/davpaez/following{/other_user}","gists_url":"https://api.github.com/users/davpaez/gists{/gist_id}","starred_url":"https://api.github.com/users/davpaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davpaez/subscriptions","organizations_url":"https://api.github.com/users/davpaez/orgs","repos_url":"https://api.github.com/users/davpaez/repos","events_url":"https://api.github.com/users/davpaez/events{/privacy}","received_events_url":"https://api.github.com/users/davpaez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T03:16:48Z","updated_at":"2015-07-01T03:18:02Z","closed_at":null,"body":"Reproduce:\r\n1. Open gui and run experiment\r\n2. Go to some Rule class and change a parameter, for example the frequency at which shocks occur. Set the parameter so that its frequency should increment significantly.\r\n3. Save .m file\r\n4. Press Load button in main window and run the experiment\r\n\r\nResult: The frequency of shocks did not increase significantly."},"comment":{"url":"https://api.github.com/repos/davpaez/contract-design/issues/comments/117423413","html_url":"https://github.com/davpaez/contract-design/issues/5#issuecomment-117423413","issue_url":"https://api.github.com/repos/davpaez/contract-design/issues/5","id":117423413,"user":{"login":"davpaez","id":10409342,"avatar_url":"https://avatars.githubusercontent.com/u/10409342?v=3","gravatar_id":"","url":"https://api.github.com/users/davpaez","html_url":"https://github.com/davpaez","followers_url":"https://api.github.com/users/davpaez/followers","following_url":"https://api.github.com/users/davpaez/following{/other_user}","gists_url":"https://api.github.com/users/davpaez/gists{/gist_id}","starred_url":"https://api.github.com/users/davpaez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davpaez/subscriptions","organizations_url":"https://api.github.com/users/davpaez/orgs","repos_url":"https://api.github.com/users/davpaez/repos","events_url":"https://api.github.com/users/davpaez/events{/privacy}","received_events_url":"https://api.github.com/users/davpaez/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T03:18:02Z","updated_at":"2015-07-01T03:18:02Z","body":"A possible explanation is that the classes definitions are not being deleted before loading the experiment again, therefore, MATLAB does not see the change made to the parameter in the class."}}