---
title: "C# tool generates .res files(binary resource files)"  
description: "C# tool generates .res files(binary resource files)"  
author: "Mahesh KK"  
published: 2015-03-18  
updated: 2015-03-18  
canonical: https://www.mindstick.com/forum/23026/c-sharp-tool-generates-res-files-binary-resource-files  
category: "c#"  
tags: ["c#", "windows 7", ".net assembly"]  
reading_time: 2 minutes  

---

# C# tool generates .res files(binary resource files)

Hi,\
\
I have a [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) tool developed using C#, which is used to do [testing](https://www.mindstick.com/articles/1849/role-of-testing-in-software-development) and which generates two types of [output files](https://answers.mindstick.com/qa/34222/how-to-review-salesforce-data-loader-output-files), one is .0 file which is equivalent to [text file](https://www.mindstick.com/forum/12828/converting-a-text-file-to-an-array-in-java) and another one is .res file([binary](https://www.mindstick.com/forum/34709/please-write-a-program-for-decimal-to-binary-conversion-in-c-sharp) [resource file](https://www.mindstick.com/articles/327263/what-is-the-use-of-resource-file-how-to-use-it-on-your-project)).\
\
Now i would like to import the data from these [two files](https://www.mindstick.com/interview/2597/can-you-have-two-files-with-the-same-file-name-in-gac) into Matlab to draw graphs from corresponding variables.\
I can easily draw graphs from text files but i have a [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) with .res files,when i try to import them to Matlab i can see data like the following:\
\
PK É]ÎB„ó§ÜÇ°* IJË 1.tmpÔÝ \NkÛ7þ4¨¨Th¢A*•æ¡94©”)J%Ís¦JD$%¡Œ©!C†ŒQÆBH†B*Dõ®_›\
\
So it would be great [if someone](https://answers.mindstick.com/qa/99016/is-there-any-device-that-can-detect-if-someone-opens-your-backpack) suggests how can i import data which is easily readable by Matlab as in text format, so that i can draw plots.\
\
Thanks.\

## Replies

### Reply by Mahesh KK

Hi Samuel, I tried Matlab Import tool from [Select Text File Data Using Import Tool-[de.mathworks.com/help/matlab/import_export/…](http://de.mathworks.com/help/matlab/import_export/import-data-interactively.html]), the data in .res files looks non numeric, import tool code replaces non-numeric strings with NaN(i can remove this piece of code), However I need a way to convert non numeric to Readable data in Matlab, the .res file contains very large data.

### Reply by Samuel Fernandes

Can you provide Code Sample.


---

Original Source: https://www.mindstick.com/forum/23026/c-sharp-tool-generates-res-files-binary-resource-files

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
