Hi,
Is it possible to import ADAMS variable to MATLAB aka co-simulating both for data exchange ? I have a program in MATLAB which makes use of some simulations results of ADAMS like contact force and positions.
As a one way export from ADAMS to Matlab, or do you then feed your Matlab results back to adams?
Actually, either way the answer is yes. I vaguely remember an ADMAMS/Control tutorial on that subject, if not your MSC support people will be able to help.
It is fairly trivial to build and run an ADAMS sim from Matlab, and then interrogate the results to build a new model.
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376
For now I need to do it only one way i.e from ADAMS to MATLAB. I find it very inconvenient to import ADAMS results to a excel sheet and then import this excel sheet to MATLAB everytime. Regarding ADAMS/CONTROL, I even read about it, but its not the thing actually I'm lloking for. I just need an easier way to directly feed some variable values from ADAMS to MATLAB directly.
What adams product are you using? what is the native format of results file that it generates? have you tried using matlab to import those files directly?
For example, I use chassis, it writes req files, which are actually cdf files, for which a function is available in matlab to read them in.
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376