Write variable to file

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

Posts: 6
Joined: Sun Sep 10, 2017 11:57 am

Write variable to file

Postby osuarez » Thu Oct 19, 2017 1:31 pm


I am working with a STM32F7 MCU using Atollic Lite to programming it.
I would need to write an array to a file so I could analyse it with MATLAB but I am not sure how to do this. I have made some research but found nothing about this topic.

Anyone could give me a clue about how to do this?

Thanks in advanced,

Posts: 62
Joined: Wed Apr 05, 2017 5:08 pm
Location: USA

Re: Write variable to file

Postby frank_ee » Thu Oct 19, 2017 3:01 pm


What type of storage media do you plan on using? USB or SD Card? You need an embedded file system in order to create and write to a file. The file system must be incorporated in your project and basically you call it's functions to perform file operations. Does your project have an RTOS?

Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 1 guest