Skip to main content
1-Visitor
January 30, 2017
Question

How to integrate Simulink with Integrity Modeler

  • January 30, 2017
  • 3 replies
  • 9061 views

Hello !

I'm searching for a method how to integrate Simulink with Integrity Modeler. I'm working with Simulink synchronizer, but there is always a mistake:

''An error occurred whilst interfacing with Simulink.

'  0×0 empty char array' is not a valid model name because it is not a valid MATLAB function name.  ''

Can someone help me and show a simple example how to integrate Simulink with Integrity Modeler?. ( tutorials e.t.c)

Regards

John

3 replies

16-Pearl
January 31, 2017

Hello,

Have you reviewed the Help topic "Integration for MATLAB Simulink"?

There's lots of information on setup and how to use the integration.

I would also check the Modeler Release Notes (Support for Third Party Products) and confirm you are using a supported version of Simulink.

If there is still a specific issue, you should log a call with PTC Support.

regards,

Patrick

16-Pearl
January 31, 2017

There is an example Simulink model provided in the Examples repository called "Speed Controller". Recommend you use the model provided with Modeler 8.3 M020 (also called 8.3b). You will need Visual Studio and obviously Simulink installed to run. View the Readme inside the model for more information and refer to the Help.

Hopefully this will help you get started.

regards,

Patrick

1-Visitor
February 3, 2017

Hello !

Unfortunately i was not able to solve the problem. In this post i will try to present it by screens.

1. First we have the speed controller block diagram.

1 speed controler.PNG

2. In the second step i have opened speedometer

In this ibd  tools-->simulink synchronizer-->synchronize.

2 speed controler.png

3.  In the 3. step will be given the mapping name  and the synchronization direction from integrity modeler to simulink.

speed controler 3.PNG

4. Mappings

speed controler 4.PNG

5. At this point there is the first problem. Integrity modeler does not recognize the integrity and simulink data type. I don't know why.

speed controler 5.PNG

6. Unfortunately always appears this error. I can only create  empty mdl ord slx file.

speed controler 6.PNG

I would be very grateful if you could provide me with some answers for my abovementioned problems.

I'm looking to forward to hearing with you.

Regards

John

16-Pearl
July 22, 2017

hi Jan,

 

Unfortunately in our recent testing we discovered some changes introduced into Simulink 2016b and 2017a that stop our integration working correctly. So we recommend using 2016a if possible for now. Sincere apoloiges we haven't realised this and informed you earlier. We will be looking at fixing these isses and supporting the newer versions of Simulink in a future release.

 

regards,

Patrick

16-Pearl
November 7, 2019

Hello,

 

You can now use the integration with Phoneix Integration ModelCenter to integrate with Simulink.

You can find details in the Help, and also some demos on our YouTube channel:

 

https://www.youtube.com/watch?v=mm0bdIFyHWk

https://www.youtube.com/watch?v=FuvLIIkiRnU

 

regards,

Patrick