First in MIL you can test the behavior of your desired function. So you con find
- understanding your function
- model errors regard to the abstracted function and implemented by your model
In Sil it depends. If you generate the code directly from your model by yusing embedded coder or targetlink than "compiler" errors or errors configuring the generation process will be found. If you implement the model by hand the you will find errors by coding the function