Filter löschen
Filter löschen

Functional Mock-up export fails

4 Ansichten (letzte 30 Tage)
Tamas Fekete
Tamas Fekete am 4 Mai 2022
Bearbeitet: Akash am 29 Dez. 2023
When I try to export a simple Simulink (consisting of a few simple blocks e.g. 'Add') model as a FMU it works well. However, when I try to export a more complex model, it just never finishes. The export process starts but after a while Simulink stops responding and no result comes even after hours of waiting time.
I tried both methods:
  • Standalone FMU export from Simulink
  • using the command 'exportToFMU2CS()' in MATLAB
Does anyone have any ideas how to solve this issue?

Antworten (1)

Akash
Akash am 29 Dez. 2023
Bearbeitet: Akash am 29 Dez. 2023
Hi Tamas,
I understand that you are experiencing issues when attempting to export a complex Simulink model as a "Functional Mock-up Unit (FMU)", with the process stalling and Simulink becoming unresponsive.
To tackle this issue, you may consider the following steps:
  • Simplify the Model: Breaking down the complex model into smaller, manageable subsystems or components could help to identify the specific element that may be causing the export to stall.
  • Monitor Resource Usage: Tracking system's resource usage, such as CPU and memory, during the export process. It's possible that the system's resources are being fully utilized, leading to the halt.
For further troubleshooting, you can review the discussion in the link provided below, which addresses common problems with importing or exporting Tool-Coupling "FMUs" in Simulink. This resource may provide additional insights to help resolve your issue:-
I hope it helps,
Thanks and regards,
Akash.

Kategorien

Mehr zu Create Standalone FMU finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by