Rank: 982 based on 79 downloads (last 30 days) and 5 files submitted
photo

Stefan Eireiner

E-mail
Company/University
Siemens VDO

Personal Profile:

I'm working as software developer at Siemens VDO on test bench automation and test bench management.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Apr 2006 fakebar displays progressing waitbars until you press cancel Author: Stefan Eireiner gui tools, example, fakebar waitbar rando..., waitbar 3 1
  • 5.0
5.0 | 1 rating
12 Apr 2006 searchInFile searches blockwise for a string or binary pattern in a file Author: Stefan Eireiner path, directories, files, file search binary st... 2 0
11 Apr 2006 IsUnicode ISUNICODE Checks if and which unicode header a file has. Author: Stefan Eireiner data import, data export, unicode utf 8 16 32 h... 4 0
11 Apr 2006 unicode2ascii Converts unicode endcoded files to ASCII encoded files Author: Stefan Eireiner data import, data export, unicode utf ascii ans... 20 3
  • 5.0
5.0 | 3 ratings
24 May 2004 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner coding, communications, coding theory, rle, run length encoding, data compression 50 16
  • 4.42857
4.4 | 14 ratings
Comments and Ratings on Stefan's Files View all
Updated File Comment by Comments Rating
07 Dec 2012 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner mnaa

pleeeeeeaze reply to me
pleaze

07 Dec 2012 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner mnaa

it appear the variable x is not define, please help me

05 Nov 2012 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner M, Zahra

Great and Thanks

19 Dec 2011 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner MOUSSA, OLFA

thx

28 Sep 2010 unicode2ascii Converts unicode endcoded files to ASCII encoded files Author: Stefan Eireiner Patterson, Mark

Works well. The included isunicode function does not correctly release the file handle when it returns. The attached diff correct this.

--- isunicode.m 2010-09-20 18:25:56 +0000
+++ isunicode.m 2010-09-27 21:11:21 +0000
@@ -13,30 +13,22 @@
%
% (c) Version 1.0 by Stefan Eireiner (<a
href="mailto:stefan.eireiner@siemens.com?subject=isunicode">stefan.eirei
ner@siemens.com</a>)
% last change 10.04.2006
-%
-% Downloaded from:
-%
http://www.mathworks.com/matlabcentral/fileexchange/10686-unicode2ascii.
-%
-% See also: unicode2ascii.

isuc = false;
-if(nargin == 2)
- if(strcmpi(filename, 'string'))
- firstLine = varargin{1}(1:4);
+if nargin == 2 && strcmpi(filename, 'string')
+ firstLine = varargin{1}(1:4);
+else
+ fileInfo = dir(filename);
+ if(fileInfo.bytes < 4) % a unicode file incl. header can't be
smaller than 4 bytes if it shall display at least one char.
+ return;
end
-end
-
-if(~exist('firstLine', 'var'))
fin = fopen(filename,'r');
if (fin == -1) %does the file exist?
error(['File ' filename ' not found!'])
return;
end
- fileInfo = dir(filename);
- if(fileInfo.bytes < 4) % a unicode file incl. header can't be
smaller than 4 bytes if it shall display at least one char.
- return;
- end
firstLine = fread(fin,4)';
+ fclose(fin) ;
end

% assign all possible headers to variables
@@ -58,7 +50,3 @@
elseif(strfind(firstLine, utf32leheader) == 1)
isuc = 5;
end
-
-if(~exist('firstLine', 'var'))
- fclose(fin);
-end

Top Tags Applied by Stefan
data export, data import, coding, coding theory, communications
Files Tagged by Stefan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Apr 2006 fakebar displays progressing waitbars until you press cancel Author: Stefan Eireiner gui tools, example, fakebar waitbar rando..., waitbar 3 1
  • 5.0
5.0 | 1 rating
12 Apr 2006 searchInFile searches blockwise for a string or binary pattern in a file Author: Stefan Eireiner path, directories, files, file search binary st... 2 0
11 Apr 2006 IsUnicode ISUNICODE Checks if and which unicode header a file has. Author: Stefan Eireiner data import, data export, unicode utf 8 16 32 h... 4 0
11 Apr 2006 unicode2ascii Converts unicode endcoded files to ASCII encoded files Author: Stefan Eireiner data import, data export, unicode utf ascii ans... 20 3
  • 5.0
5.0 | 3 ratings
24 May 2004 RLE de/encoding A simple m-file which (de)compresses your data using RLE. Author: Stefan Eireiner coding, communications, coding theory, rle, run length encoding, data compression 50 16
  • 4.42857
4.4 | 14 ratings

Contact us