Cannot refresh variables when exporting Simulink to FMU file

I am trying to create a simple FMU file from a SimuLink model. I made this many times before. Now, suddenly, I am getting the following error when I try to refresh the settings (using R2024a):
Unable to resolve the name 'internal.getWSLDockerSettings'
I have no idea what that means. A reseach on google resulted in nothing.
I thank for any help.

Antworten (1)

Pooja Kumari
Pooja Kumari am 25 Apr. 2024

0 Stimmen

Hello,
I am also facing the same "Unable to resolve the name 'internal.getWSLDockerSettings'" error when pressing the "Refresh" button, but you can try using the command line API to generate an FMU file.

2 Kommentare

Thanky for the help!
Can you please give me an example?
Hi,
This should work:
open_system('vdp')
set_param('vdp', 'SolverType', 'Fixed-step')
exportToFMU('vdp','FMIVersion','2.0','FMUType','CS')

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2024a

Kommentiert:

am 12 Feb. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by