MATLAB: Store out put as a text

code text cell string aviation ats route

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
How can I have the ans displayed like this with out doing the copy paste.

Best Answer

  • ans{1}