フィルターのクリア

Ao can I display a var-comment-var ?

1 回表示 (過去 30 日間)
Biza Ferreira
Biza Ferreira 2015 年 10 月 28 日
コメント済み: Biza Ferreira 2015 年 10 月 28 日
I have two variables like A and B, now I need to print in command window variable1-comment-variable2 how can I do this?

採用された回答

Thorsten
Thorsten 2015 年 10 月 28 日
If A and B are numbers, you can use
disp([num2str(A) ' my comment in between ' num2str(B)])
  1 件のコメント
Biza Ferreira
Biza Ferreira 2015 年 10 月 28 日
Tank you thorsten

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by