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

22 次查看(过去 30 天)
Marker input is ignored
  4 个评论

请先登录,再进行评论。

采纳的回答

Nitin Phadkule
Nitin Phadkule 2021-6-25
Thanks for the reply, i got the reson of error but i want markers to be shown below. Please suggest how to supress warning.
  4 个评论
Walter Roberson
Walter Roberson 2021-6-28
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);

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2021-6-25
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.

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by