Is it possible to pass design variables from Simulink to ADAMS for a cosimulation? Looks like only state variables are allowed. Is there a work around besides using constant value state variables?
Also, is it possible to pass the mass value of a part from Simulink to ADAMS (sort of related to the first question)?
No! The co-simulation works with the solver and when the simulation starts, all design variables are replaced with their constant values.
And no on the second question as well. You can't pass a mass in. Do you have a mass that varies during the simulation or do you just want to set it from Simulink?
I could imagine that it may be possible to use a cbksub/consub-technique that sets the masses before each simulation step.
This will be a major PITA and requires deep ADAMS knowledge.
If it's possible to switch the masses "stepwise", then building a big mass by lot's of small masses connected with GCONS could be the solution. The GCONS could be switched off by solver variables and thus could simulate small masses coming loose from the main mass.
Last but not least you could emulate mass-effects in ADAMS analytically by a VFORCE/GFORCE and simply supply the mass to the equations. That would involve a low or (none) mass part where the force is acting on.