How to import a simulink file and run at activate?

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

 

This is my first steps at this platform.

How can I import a simulink model (from mathworks vendor) for use at activate?  The extension is 'slx'.

 

I didn`t find any tutorial about it.

 

regards,

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • robertavarela
    robertavarela New Altair Community Member
    edited June 2019

    Hello Rodrigo,

    Except for Simscape, we are able to import Simulink blocks when we install the extension Simport available at Altair Connect (https://connect.altair.com/CP/):

    image.png.f0101e92757d69c4d3c9fa3a2c4cd186.png

    Then we open Activate and install Simport as a library:

    image.png.15bb447636c766b6c0a559558a4c0ed1.png

    And we will be able to import the desired block diagram from Simulink:

    image.png.620ca636252b6fb98a4d37d0d2f4b161.png

     

    image.png.df4ce99100815e42ffdc6fdd2037c37b.png

    We are not able to import all Simscape blocks because we have our own physical-based blocks in our Modelica library, which is an open-source language to simulate physical components. We have hundreds of physical blocks in the native installation of Activate with mechanical, thermal components and many others. So in case you find issues when importing physical blocks, we may be able to substitute them with the Modelica equivalent ones.

    image.png.7ae0ac5f762c1fe16a772ede77903213.png

    I just attached a sample model to exemplify the Simulink importation. What you will see when it is imported is the following block diagram:

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.4a13bd3efdbd76c92d952596a9dd5700.png

    Regards,

    Roberta

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2019

    Thanks Roberta,

     

    The Altair Connect isn`t working for new user registration. I`ll try again later.

    Could you host the Simport activate at this forum as attached file?

  • robertavarela
    robertavarela New Altair Community Member
    edited June 2019

    Rodrigo,

    I suggest that you try again later to access Altair Connect, because unfortunately it is not possible to share these files here. And let us know if you have any questions or if you have any issue when following the steps above.

    Regards,

    Roberta

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2019

    I find the Simport library at

    https://login.solidthinking.com/downloads

     

    but only at the trial portal.

     

    Soon I`ll try to import some simulink files to Altair Activate.

  • robertavarela
    robertavarela New Altair Community Member
    edited June 2019

    Rodrigo,

    That is great to know! Don't hesitate to reach out to the forum again in case of questions or issues.

    Regards,

    Roberta

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2019

    Hi Roberta,

     

    Actually the simport is available at portal for Activate Basic too.

     

    I tried to import your model and some of my own models and the import work.

     

    I believe this is the first software able to import a simulink file and run. Both simulink formats are supported (mdl (legacy) and slx).

     

     

     

  • robertavarela
    robertavarela New Altair Community Member
    edited June 2019

    Rodrigo,

    Great feedback!

    Regards,

    Roberta

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2019

    I tried to import a simulink project with subsystem (superblock) and something strange happen. If the subsystem don`t have mask the import work fine, but if the subsystem have some kind of mask the import didn`t work well, the superblock was imported empty.

     

     

  • robertavarela
    robertavarela New Altair Community Member
    edited June 2019

    Can you please share your models?

    Roberta

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.