Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing ADAMS variables to MATLAB/ Co-simulation 1

Status
Not open for further replies.

gamertag

Mechanical
Aug 3, 2014
10
IN
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.
 
Replies continue below

Recommended for you

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
 
Thanks for the reply Greg Locock.

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top