Please help. error after plotting on narginchk(ai,inf)

3 ビュー (過去 30 日間)
Rangga
Rangga 2023 年 2 月 11 日
コメント済み: Rangga 2023 年 2 月 11 日
hello! i'm trying to plotting ship trajectory using plot(x,y).
It's works fine and i can showing my plot exactly like i want, but after it suddenly some error appear and also opening script makehgtform.m
NaN/Inf breakpoint hit for makehgtform.m on line 93.
93 narginchk(ai,inf);
Kedua_LoopScript.m is my main code and Pertama_Particular_coeff.m is input data.
here's what the plot i got, it's fine, but i can't save it because the error.
please anyone can help??

採用された回答

Walter Roberson
Walter Roberson 2023 年 2 月 11 日
previously you enabled
dbstop if naninf
and you did not disable that or quit matlab. It is still in effect. The code for makehgtform happens to use inf so that is triggering the breakpoint.
  1 件のコメント
Rangga
Rangga 2023 年 2 月 11 日
Oops! i forgot that, thanks a lot!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by