So many times I have tried to use insertAfter command, I always get this error message:Undefined function or variable 'insertAfter'.

 채택된 답변

Stephen23
Stephen23 2017년 4월 1일
편집: Stephen23 2017년 4월 1일

2 개 추천

When you read the insertAfter documentation it states in bold lettering "Introduced in R2016b". What version of MATLAB are you using? If you have an earlier version then this function will not exist.
Alternatively you might be trying to use the function on some data that is not of class string. If you gave us the complete error message (i.e. all of the red text) then we would actually be able to tell you which of these it is.

댓글 수: 1

Tihomir Jevtic
Tihomir Jevtic 2017년 4월 1일
I'm using 2016a, there is a problem. Thank You very much!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

태그

질문:

2017년 4월 1일

댓글:

2017년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by