{"id":4711,"date":"2015-08-07T01:00:13","date_gmt":"2015-08-07T06:00:13","guid":{"rendered":"https:\/\/blogs.mathworks.com\/seth\/?p=4711"},"modified":"2023-05-01T11:18:44","modified_gmt":"2023-05-01T15:18:44","slug":"modeling-and-simulation-challenge-in-cody","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/simulink\/2015\/08\/07\/modeling-and-simulation-challenge-in-cody\/","title":{"rendered":"Modeling and Simulation Challenge in Cody"},"content":{"rendered":"<p><em><strong>Update:<\/strong> The Modeling and Simulation Challenge group has been deprecated. I recommend looking at <a href=\"https:\/\/matlabacademy.mathworks.com\/details\/simulink-onramp\/simulink\">Simulink OnRamp<\/a>, which can be run in MATLAB Online in your browser.<\/em><\/p>\r\n\r\n<p>----------------<\/p>\r\n\r\n<p>I am sure many readers of this blog are familiar with <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/\">Cody<\/a>, the MATLAB Central problem solving game. Personally, the first time I tried Cody my reaction was: <em>WE NEED A SIMULINK VERSION OF THAT!!!<\/em><\/p>\r\n\r\n<p>Finally, this day has come!<\/p>\r\n\r\n<p>You heard me right... We decided to take it to the next level with the Modeling and Simulation Challenge group where you can solve time-based simulation problems using a block-diagram editor.<\/p>\r\n\r\n<p>To find those problems, click on the Modeling and Simulation Challenge group in the main Cody page:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2015Q3\/Cody.png\" alt=\"Modeling and Simulation Group in Cody\" \/><\/p>\r\n\r\n<p>When you click on the link to solve the problem, instead of the typical text box where you would write MATLAB Code, you will see a library of blocks and a canvas where you will drop and connect those blocks.<\/p>\r\n\r\n<p>Here is what my solution for the Mass-Spring-Damper problem looks like:<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2015Q3\/CodyBlocks.png\" alt=\"The Modeling and Simulation challenge interface\" \/><\/p>\r\n\r\n<p>As you can expect, when you click <strong>Simulate<\/strong> or <strong>Submit<\/strong>, the power of Simulink is unleashed to solve the equations you put together.<\/p>\r\n\r\n<p><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2015Q3\/powered.png\" alt=\"Powered By Simulink\" \/><\/p>\r\n\r\n<p><strong>Now it's your turn<\/strong><\/p>\r\n\r\n<p>Put your gaming shoes on and let's solve some Cody Modeling and Simulation Challenges!<\/p>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/seth\/2015Q3\/powered.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Update: The Modeling and Simulation Challenge group has been deprecated. I recommend looking at Simulink OnRamp, which can be run in MATLAB Online in your browser.\r\n\r\n----------------\r\n\r\nI am sure... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2015\/08\/07\/modeling-and-simulation-challenge-in-cody\/\">read more >><\/a><\/p>","protected":false},"author":41,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[34,71],"tags":[434,435],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/4711"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/comments?post=4711"}],"version-history":[{"count":19,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/4711\/revisions"}],"predecessor-version":[{"id":14506,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/posts\/4711\/revisions\/14506"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/media?parent=4711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/categories?post=4711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/simulink\/wp-json\/wp\/v2\/tags?post=4711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}