MATLAB Answers


hi i've a problem the function newline dosen't work in matlab 2016a??

Asked by khadija portu on 11 Apr 2018
Latest activity Commented on by Steven Lord
on 12 Apr 2018
please help me as soon as thank you before


Sign in to comment.

1 Answer

Answer by Steve Eddins on 11 Apr 2018

The function newline was introduced in R2016b. Instead of newline, you can use char(10) or sprintf('\n').


HELLO, THANK YOU but i don't have it i try but all the time i've this problem
what should i do please help me as soon as thank you kind regards
The newline function does not exist in release R2016a.
As Steve Eddins said, you will need to replace calls to newline with char(10) or sprintf('\n').

Sign in to comment.