Ao can I display a var-comment-var ?
1 回表示 (過去 30 日間)
古いコメントを表示
I have two variables like A and B, now I need to print in command window variable1-comment-variable2 how can I do this?
0 件のコメント
採用された回答
Thorsten
2015 年 10 月 28 日
If A and B are numbers, you can use
disp([num2str(A) ' my comment in between ' num2str(B)])
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calendar についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!