hexagon logo

I want link ADAMS with MATLAB and control some parameters from ADAMS system in MATLAB. I followed the procedures to make MATLAB compatible file from ADAMS, but it doesn't produce the simulink file (.slx) to be used in MATLAB. How can I resolve this?

I want link ADAMS with MATLAB and control some parameters from ADAMS system in MATLAB. I followed the procedures to make MATLAB compatible file from ADAMS, but it doesn't produce the simulink file (.slx) to be used in MATLAB. How can I resolve this?
Parents
  • Hi Saber,
     
    I am guessing that either:
    1. You do not have the proper version of Matlab for your Adams version, maybe?
    2. OR: did you not load the .m file before typing 'adams_sys', maybe? You must load the .m file because it sets up a number of variables.
    3. OR maybe you generated the .m file on one machine and transferred to another computer? That would not work. Make sure that the 'working directory' of ADams, when doing the Plant Export, is the same as the working directory for Matlab.
     
    Thanks,
    Kent
     
Reply
  • Hi Saber,
     
    I am guessing that either:
    1. You do not have the proper version of Matlab for your Adams version, maybe?
    2. OR: did you not load the .m file before typing 'adams_sys', maybe? You must load the .m file because it sets up a number of variables.
    3. OR maybe you generated the .m file on one machine and transferred to another computer? That would not work. Make sure that the 'working directory' of ADams, when doing the Plant Export, is the same as the working directory for Matlab.
     
    Thanks,
    Kent
     
Children
No Data