1. A method comprising: identifying portions of a model as being either critical to a real-time execution of the model or non-critical to a real-time execution of the model; and generating code that is capable of real-time execution based on the critical portions of the model.