Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
ascii matrix with text

Subject: ascii matrix with text

From: e.manuel@infinito.it (e.manuel)

Date: 24 Jan, 2009 15:41:18

Message: 1 of 2

hi
I've to create a text file from a matrix with two (or more) text lines.
The file should be as

-----------------------------
Text line 1
ABC DEF GHI (text line 2)
1 2 3
4 5 6
7 8 9
10 11 12
-----------------------------

the command "save" can convert a matrix in to an ASCII file, but it can't
insert text.
how can I solve this problem?

thank you

--

questo articolo e` stato inviato via web dal servizio gratuito
http://www.newsland.it/news segnala gli abusi ad abuse@newsland.it

Subject: ascii matrix with text

From: Joerg Buchholz

Date: 25 Jan, 2009 17:46:08

Message: 2 of 2

e.manuel@infinito.it (e.manuel) wrote in message <glfcqt$56f$1@news.newsland.it>...
> hi
> I've to create a text file from a matrix with two (or more) text lines.
> The file should be as
>
> -----------------------------
> Text line 1
> ABC DEF GHI (text line 2)
> 1 2 3
> 4 5 6
> 7 8 9
> 10 11 12
> -----------------------------
>
> the command "save" can convert a matrix in to an ASCII file, but it can't
> insert text.
> how can I solve this problem?
>
> thank you
>
> --
>
> questo articolo e` stato inviato via web dal servizio gratuito
> http://www.newsland.it/news segnala gli abusi ad abuse@newsland.it
>

help fprintf

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us