MATLAB: Getting errors while Copying imported model from solidworks into a new simulink model

copingcopyerrorimported_modelSimscape Multibodysimulinksolidworks

I am trying to copy an imported Solidworks model into a new Simulink model, but I get these errors:
my imported model is something like below and it works perfectly, but when i try to copy it in order to use it in another simulink model i get those errors mentioned above, what can i do?
Both my imported model and my new copied one are in the same folder and I am using R2017b version.

Best Answer

The model needs a variable "smiData" which is missing. Look for the code that imports or creates this variable.