Co-simulation between Matlab Simulink and Altair Flux 2D

nguyenbach
nguyenbach Altair Community Member

Hi everyone, i have a problem in co-simulation with matlab.

I am running a simulation based on Case 4 in the "example_flux_activate" section, titled "Co-simulation with multiphysics position kinematics", but I encountered an error: "Unable to connect correctly sliding surface", along with several other errors shown in the image below. Could you please advise me on how to fix this issue? It runs for about 2–3 minutes before this error occurs.

Screenshot 2025-03-21 172045.png Screenshot 2025-03-21 172117.png

Thanks

Best regard,

Nguyen Viet Bach

Tagged:

Answers

  • C_Favre
    C_Favre
    Altair Employee

    Hi,

    This error message is linked to the mechanical sets, did you use exactly the same Flux project that in the example? With a mechanical set of type Multiphysic Position? And with nothing defined in Internal and external characteristics?

    Best regards.

    Cyril Favre