I have a single .dll built from a Simulink model I want to define in the system definition and run as three separate model instances:
model.dll ->
Models
model1
model2
model3
This has been working as I am doing my development, but now it no longer does and I get error -307702. It also now does not work if I go back to versions of the .dll that worked previously. Sporadically, I have gotten two instance of the model to work without error... so the results are not consistent. The error code wording is not applicable, because I refresh and/or deleted the old models entirely, reimport the .dll three times and save the system definition file. I also do not have any global parameters, they are all 'model' - and again this use to work.
It always work if the .dll files are different, so I have been copying the .dll two other times, but this is not a great scalable solution when I can have n models running all from the same model code. I don't want to have to copy the .dll n times after each .dll update.