Jump to content
Lokesh Katari

From Simulink to Activate

Recommended Posts

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

 

ALTAIR_Activate_Simport_Library.pdf

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

Hi Lokesh Katari,

 

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

 

Regards

Share this post


Link to post
Share on other sites

×
×
  • Create New...