Got Questions? Get Answers.
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:
Writing string to text document

Subject: Writing string to text document

From: Naruto

Date: 13 Aug, 2010 21:11:06

Message: 1 of 2

Is there anyway that I can have matlab create a text document and write a string to it?

Thanks,
Naruto

Subject: Writing string to text document

From: Sean

Date: 13 Aug, 2010 21:19:06

Message: 2 of 2

"Naruto " <darthxepher@gmail.com> wrote in message <i44cda$2se$1@fred.mathworks.com>...
> Is there anyway that I can have matlab create a text document and write a string to it?
>
> Thanks,
> Naruto

a few tools:
doc fopen
doc fwrite
doc fprintf
doc fclose
dos sprintf

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