Guy on Simulink

Simulink & Model-Based Design

Modeling and Simulation Challenge in Cody

I am sure many readers of this blog are familiar with Cody, the MATLAB Central problem solving game. Personally, the first time I tried Cody my reaction was: WE NEED A SIMULINK VERSION OF THAT!!!

Finally, this day has come!

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.

To find those problems, click on the Modeling and Simulation Challenge group in the main Cody page:

Modeling and Simulation Group in Cody

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.

Here is what my solution for the Mass-Spring-Damper problem looks like:

The Modeling and Simulation challenge interface

As you can expect, when you click Simulate or Submit, the power of Simulink is unleashed to solve the equations you put together.

Powered By Simulink

Now it's your turn

Put your gaming shoes on and let's solve some Cody Modeling and Simulation Challenges!

  • print
  • send email


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.