필터 지우기
필터 지우기

Error when opening Simulink file

조회 수: 10 (최근 30일)
Reed Truax
Reed Truax 2023년 6월 16일
답변: Subhajyoti Halder 2023년 6월 21일
When I try to open one of my simulink files I'm getting the following error:
Error using open (line 146)
Undefined function 'executePostCreateCallBacks' for input arguements of type 'Simulink.Root'
i've been using these models for over a year with no issue. The only thing that has changed recently is I recently started using GitHub to manage my files. However I see this error even when opening Simulink and trying to make a new file.

답변 (1개)

Subhajyoti Halder
Subhajyoti Halder 2023년 6월 21일
Hi Reed,
It is my understanding that you are getting an error as 'executePostCreateCallBacks' function is undefined.
I would recommend you try the following workarounds,
  • Run MATLAB as an administrator: Open MATLAB as an administrator and try to open the Simulink file again. Sometimes, this can fix issues related to file access and user permissions.
  • Clear Simulink Preferences: Clearing the Simulink preferences might help resolve the issue. In MATLAB, type the following command:
>> sl_refresh_customizations
  • Check Simulink Library Links: Make sure that all Simulink library links are properly set up. If some libraries are not properly linked, it can result in undefined functions. In MATLAB, you can set up library links by going to Simulink Editor > Library > Library Links.
  • Repair or Reinstall MATLAB: If none of the above solutions work, try repairing or reinstalling MATLAB. This can help restore any missing or corrupted files that may be causing the issue.
For further details on loading data arrays to root-level inputs, you can refer to the following documentation

카테고리

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by