The rsim target is subject to the following limitations:
In certain cases, changing block parameters may result in structuralchanges to your model that change the model checksum. An example of such a change would be changing the number of delays in a DSP simulation. In such cases, you must regenerate the code for the model.
The rsim target is is not compatible with M-file S-functions.