Simulink Models for Autocode Generation

(see Figure 11) we begin to build a Simulink model that can be used for autocode…. consider when setting up a Simulink model for code generation

More PDF Content

Simulink Models for Autocode Generation
Suppose that you have developed a Simulink model of a virtual world, such as a wall or spring-mass system. We have seen how to choose the parameters of the virtual world so that it has desired properties. For example, we have seen how to choose the spring constant and inertia of the virtual spring-mass system so that it has a desired frequency of oscillation and satisfies a maximum torque limit. We also learned how to add damping to such a model to counteract the destabilizing effect of forward Euler integration. Once we develop a model of the virtual world that behaves correctly in simulation, it remains to implement this world in C code that can be executed on the MPC5553 microprocessor. Until now we have simply written the C code by hand, and have debugged any resulting errors as necessary.

Download Simulink Models for Autocode Generation pdf from www.eecs.umich.edu, 16 pages, 220.16KB.
Related Books

Leave a Reply