Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
disp(['counter ' num2str(blk) (here I need a tab!!!) 'adc ' num2str(adc_nr)])
試す
disp(['counter ' num2str(blk) 9 'adc ' num2str(adc_nr)])
説明: 通常、タブを挿入する場合は、文字列に '\t' を挿入します。これは ではうまく機能しますsprintfが、dispコマンドはそれを適切に解釈しません。したがって、1 つの解決策は、タブの ASCII 値 ('9') を直接入力することです。
sprintf
disp