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

1-Visitor
May 18, 2017

I do see exactly the same behavior.

And it does not matter if I want to sync Simulink Blocks into Modeler or vice versa. Following exactly the guidelines in the Modeler help.

I use Modeler 8.3.18 (with Patches 8.3a and 8.3b) and Matlab/Simulink 9.1.0.441655 (R2016b).

According to the Modeler Release notes (found as rtf file via the Modeler Help) Modeler 8.3 is tested with 2016a and supports 2006b or later.

-> Therefore this should not be the problem.

To try the SpeedControler example I am missing the VisualStudio installation. Therefore it is unfortunately not available to me.

Any help to get the Modeler-Simulink sync running would be most welcome.

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