Undefined function for input arguments of type 'char'.

조회 수: 6 (최근 30일)
Arya Salari
Arya Salari 2018년 8월 29일
답변: Jan 2018년 8월 29일
i'm trying to install the real time kernel for simulink and from the guide provided in mathworks i should simply write the following code in the command window:
sldrtkernel -install
but i keep getting this massage :
Undefined function 'sldrtkernel' for input arguments of type 'char'.
thanks in advance.
  댓글 수: 2
Rik
Rik 2018년 8월 29일
Are you sure you have the correct toolbox installed? You should be able to check with the ver command which toolboxes are installed. Otherwise you can check if the function is shadowed by using which('sldrtkernel','-all').
Arya Salari
Arya Salari 2018년 8월 29일
편집: Arya Salari 2018년 8월 29일
I followed the instructions from
https://de.mathworks.com/help/sldrt/ug/real-time-windows-target-kernel.html which doesn't mention installing anything other than 'sldrtkernel' in the command window

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

답변 (1개)

Jan
Jan 2018년 8월 29일
Did you select "Simulink Desktop Real-Time software" during the installation of Matlab and do you have the required license? If not, sldrtkernel is not found in Matlab's toolbox folders, which would cause the shown error.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by