Currently I get the result of my calculation as shown below
ans =
[1x402 char]
The whole answer is inside a cell and when I copy and paste it in notepad it looks like this
'WSSS.DCT.AROSO.Y339.GEMAS.B466.VBA.G582.BILIK.G582.GOBAS.R467.GUNIP.B466.TASEK.B466.BOSTI.B466.TOSOK.B466.ANOKO.B466.APASI.B466.ATIDA.B466.AVNOS.B466.MMV.P574.OPAMO.P574.GULAM.P574.BBM.P574.MADOG.P574.UDULO.P574.OKILA.P574.ERVIS.P574.GUNDI.P574.DARMI.P574.BISET.P574.ADPOP.P574.BOLIS.P574.TOTOX.P574.LOSIM.P574.KAXEM.P574.MUSRU.P574.PAROK.P574.KUSRA.P574.MIXAM.P574.SOLUD.P574.GISMO.P574.BUBIN.DCT.OMDB'
How can I have the ans displayed like this with out doing the copy paste.

 採用された回答

Iain
Iain 2014 年 8 月 29 日

0 投票

ans{1}

3 件のコメント

Anoop
Anoop 2014 年 8 月 29 日
WOW that works. Thanks a lot. How can I replace the '.' with a blank space.
Iain
Iain 2014 年 8 月 29 日
ans(ans == '.') = ' ';
Anoop
Anoop 2014 年 8 月 29 日
That works too. Thanks a lot.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

質問済み:

2014 年 8 月 29 日

コメント済み:

2014 年 8 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by