Undefined function 'xline' for input arguments of type 'double'.
Show older comments
Have been working on a project on my laptop and university computer and when I sent over my data the 'xline' function no longer worked on the matlab file and renders the error - "Undefined function 'xline' for input arguments of type 'double'." and is not working for any value of xline(x1) that I enter on the computer.
1 Comment
Setsuna Yuuki.
on 1 Dec 2020
Are you sure your arguments are valid?
%for example:
xline(1);
Accepted Answer
More Answers (1)
Ameer Hamza
on 1 Dec 2020
1 vote
xline() was introduced in R2018b. If you are using an older release, you will get this error.
3 Comments
Jonah Bricknell
on 1 Dec 2020
Jon
on 1 Dec 2020
please see my answer below
Jonah Bricknell
on 1 Dec 2020
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!