From Simulink to Activate

LOKESH KATARI
LOKESH KATARI Altair Community Member
edited October 2020 in Community Q&A

Hi,

I have some models in Simulink.

How do I open those in Activate.

Kindly,Help me with this

 

Thank you

Answers

  • ChristianKehrer
    ChristianKehrer Altair Community Member
    edited May 2020

    Hi Lokesh,

     

    for the import of Simulink models, we have a dedicated library called Simport.

    You can download the current version of the Simport library for Activate in the connect portal: https://connect.altair.com/CP/downloads.html?suite=HyperWorks

     

    I attached some slides incl. some explanations.

     

    Please, let us know, if this helps!

     

    Best

    Christian

     

    Unable to find an attachment - read this blog

  • Livio Mariano_20459
    Livio Mariano_20459
    Altair Employee
    edited May 2020

    Attached also a video that shows how to install and use Simport Library

    Best

    Liv

    Unable to find an attachment - read this blog

  • LOKESH KATARI
    LOKESH KATARI Altair Community Member
    edited May 2020

    Thank you so much for the video and document.

    I have some doubts 

    is it compulsory to give matlab file? coz i have only Simulink file

    and also what is that result log file?

    i am getting this error

     

    Error: can not open 'C:\Users\lokesk\AppData\Local\Temp\Tempdir_NzrkAy\simport.bat': Permission denied in function execute_command at line number 148 in file simport_import_to_oml.oml

     

    please help me with this

    Thanks

  • RoKet
    RoKet
    Altair Employee
    edited June 2020

    It's not compulsory, it's optional. If your model uses functions written in an m-file you can add the file to the import.

    The log file reports all messages from the import process. After opening (and closing) projects the path is filled with the temporary project directory. If the associated project has already been closed, the directory doesn't exist any more. Please try to fill in just a name of a log file without any path.

  • RoKet
    RoKet
    Altair Employee
    edited June 2020

    Hi @LOKESH KATARI,

     

    Did you get the import running? While checking the import on my computer I got the same error message. The reason was a mix of versions of Activate and import library. Today I've installed the brand new version 2020 and Simport_V1.4_for_Activate2020 and everything works fine!

     

    Regards

  • LOKESH KATARI
    LOKESH KATARI Altair Community Member
    edited June 2020

    Hi,

     

    Thank you so much

    its working

    Regards

    Lokesh

  • LOKESH KATARI
    LOKESH KATARI Altair Community Member
    edited June 2020

    Hi
    I am still getting the same error and  I installed like you told

     

    can you please help me with this?

     

    oml
    Error: error when executing 'C:\Users\kbrm\AppData\Local\Temp\Tempdir_dX2Ugm\simport.bat': simport warning:
    xml deep ast to xml explicit ast: dropping 'Object' implementation section item
    simport warning:

  • RoKet
    RoKet
    Altair Employee
    edited June 2020

    Hi Lokesh Katari,

     

    The quoted message just contains simport warnings. The error message itself follows later. Please can you post it?

     

    Regards

  • LOKESH KATARI
    LOKESH KATARI Altair Community Member
    edited June 2020

    Hey hi

  • RoKet
    RoKet
    Altair Employee
    edited June 2020

    You got a PM