Cannot refresh variables when exporting Simulink to FMU file

조회 수: 12 (최근 30일)
Wescley Tiago Batista de Sousa
Wescley Tiago Batista de Sousa 2024년 4월 25일
댓글: David 2025년 2월 12일 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
Jorge
Jorge 2025년 2월 8일 15:23
I also have this issue.
Hugo
Hugo 2025년 2월 12일 9:51
I have the same issue.

댓글을 달려면 로그인하십시오.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by