MATLAB: Is the external test harness converted to an internal test harness after exporting the model to an older version

exportexternalharnessinternalprevioussimulink testtestversion

I am exporting a Simulink model from MATLAB R2017b to R2016b. My model is linked to an external test harness but after exporting, why does it appear as an internal test harness?

Best Answer

If you export a model linked to an external test harness to a previous version, the external harness will appear as internal harness in the older version. This is by design, because a model can be linked to multiple external harnesses and users might want to be able to export just the model by itself to a previous version and avoid the export of additional files that it would entail.
Once you have your model exported to the previous version, you can convert the internal harness to external harness through Analysis > Test Harness > Convert to External Harness.