Clear Filters
Clear Filters

when I ran a MATLAB app I created I get Warning: Marker input is ignored in command prompt. What this means

6 views (last 30 days)
Marker input is ignored
Nitin Phadkule
Nitin Phadkule on 24 Jun 2021
>> [msg,warnID] = lastwarn
msg =
'Marker input is ignored.'
warnID =

Sign in to comment.

Accepted Answer

Nitin Phadkule
Nitin Phadkule on 25 Jun 2021
Thanks for the reply, i got the reson of error but i want markers to be shown below. Please suggest how to supress warning.
Walter Roberson
Walter Roberson on 28 Jun 2021
yline(app.UIAxes_2,0, 'k_', 'LineWidth', 2);
Underscore is a marker style that indicates a horizontal line. You want
yline(app.UIAxes_2,0, 'k-', 'LineWidth', 2);

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 25 Jun 2021
Something in your code invokes either xline() or yline(), and specifies a marker in doing so. For example,
xline(4, 'r*')
However, xline() and yline() do not permit markers.




Community Treasure Hunt

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

Start Hunting!