Cannot refresh variables when exporting Simulink to FMU file

15 visualizaciones (últimos 30 días)
Wescley Tiago Batista de Sousa
Wescley Tiago Batista de Sousa el 25 de Abr. de 2024
Comentada: David el 12 de Feb. de 2025 a las 10:06
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.
  3 comentarios
Jorge
Jorge el 8 de Feb. de 2025 a las 15:23
I also have this issue.
Hugo
Hugo el 12 de Feb. de 2025 a las 9:51
I have the same issue.

Iniciar sesión para comentar.

Respuestas (1)

Pooja Kumari
Pooja Kumari el 25 de Abr. de 2024
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 comentarios
Wescley Tiago Batista de Sousa
Wescley Tiago Batista de Sousa el 25 de Abr. de 2024
Thanky for the help!
Can you please give me an example?
David
David el 12 de Feb. de 2025 a las 10:06
Hi,
This should work:
open_system('vdp')
set_param('vdp', 'SolverType', 'Fixed-step')
exportToFMU('vdp','FMIVersion','2.0','FMUType','CS')

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by