Generated code for a simulation object is created in such a way as to allow you to create multiple instances of the generated simulation object. This means that you can create multiple simulation object instances and run them in parallel. This also means that data structures must be dynamically allocated, as opposed to code generated for embedded targets, which uses statically allocated data structures.