필터 지우기
필터 지우기

Simulink functions appear to be missing

조회 수: 11 (최근 30일)
Emanuele  Costantino
Emanuele Costantino 2021년 11월 15일
답변: Srivardhan Gadila 2021년 11월 17일
Hello everybody,
I am having a real weird issue when I start up simulink. I get two error mesages:
  1. Unrecognized function or variable 'start_simulink'
  2. The Matlab Path must have these directories for Simulink to function: toolbox/simulink/cre/api Matlab cannot continue. Please rstore the path and restart Matlab
Additionally, when I try to make a project I get the error message:
  • Undefined function 'simulink_version' for input arguments of type 'char'
If I try to open up an example I get the error:
  • Undefined function 'bdlsLoaded' for input of type 'char'
I've looked all over for an answer but can't seem to fix this issue.

답변 (1개)

Srivardhan Gadila
Srivardhan Gadila 2021년 11월 17일
This could be a license checkout issue. Execute the following command to see if it gives an output of 1.
>> license('checkout','SIMULINK')
Or there may have been changes to the MATLAB path or settings. To restore the default path and clear cache, run the following commands in the command line
>>restoredefaultpath
>>rehash toolboxcache
>>savepath
Also delete the contents of the MATLAB prefdir which can be found by typing 'prefdir'.
If none of the above works, contact MathWorks support.
You can also try checking the following page: Resolve Error: Undefined Function or Variable and the following MATLAB Answer: Why do I get the error "Undefined function or variable"?

카테고리

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

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by