Rank: 689 based on 211 downloads (last 30 days) and 10 files submitted
photo

Jerome Briot

E-mail
Company/University
Biomechanics Laboratory, Purpan Hospital, Toulouse, France
Lat/Long
43.60961, 1.400386

Personal Profile:

Research engineer - PhD in Biomechanics

   • http://briot-jerome.developpez.com/
   • http://www.researchgate.net/profile/Jerome_Briot
   • http://fr.linkedin.com/in/jeromebriot

Professional Interests:
Biomechanics, medical imaging, computer hardware and software development

 

Watch this Author's files

 

Files Posted by Jerome View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Oct 2014 Screenshot Image with non-square pixels Display image object with non-square pixels (disks, hexagons, octagons, rhombus) Author: Jerome Briot image, pixels, pixel, nonsquare 16 0
21 Oct 2014 Screenshot DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot dos, character encoding, charset, language 41 5
  • 5.0
5.0 | 1 rating
16 Sep 2014 Screenshot wmicGetHardwareInfos Get computer hardware information on Windows with WMIC Author: Jerome Briot computer, hardware, cpu, gpu, ram, windows 20 0
16 Sep 2014 wmicGet Get computer and operating system information on Windows with WMIC Author: Jerome Briot computer, operating system, windows, wmic, wmi, wql 24 0
21 Feb 2007 Screenshot SETPOS 1.2 - GETPOS 1.2 Two flexible wrappers to manage graphics object position. Author: Jerome Briot development environme..., position setpos getpo..., potw, pick of the week 16 5
  • 4.5
4.5 | 2 ratings
Comments and Ratings by Jerome View all
Updated File Comments Rating
13 Oct 2014 DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot

"feature('locale');" added.
Thanks !

23 Sep 2009 Gui Example - Stop Start Loop & Icon Change & Build Exe Example of 3 things: 1. Stop and start a loop 2. Change Gui icon 3. Build EXE Author: Yohanan Sivan

"modifying the title bar icon constitutes a breach of the license agreement"

=> http://www.mathworks.com/support/solutions/en/data/1-16N4J/?solution=1-16N4J

Comments and Ratings on Jerome's Files View all
Updated File Comment by Comments Rating
15 Oct 2014 Forbidden Donut Favorite FEX contribution of Homer Simpson Author: Jerome Briot de Wolski, Sean

14 Oct 2014 DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot Mikhail

Here is how you can guard it:

feature('DefaultCharacterSet', encoding);
try
[status, cmdout] = builtin('dos',command);
catch exception
feature('DefaultCharacterSet', defaultCharacterSet);
rethrow(exception);
end
feature('DefaultCharacterSet', defaultCharacterSet);

13 Oct 2014 DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot Mikhail

Cool!

It is possible to subvert execution of second call to feature('DefaultCharacterSet', defaultCharacterSet); used to restore the Windows locale.

For example:
dosWithCharEncod(dir,'-echo');
feature('DefaultCharacterSet')

ans =

IBM866

So locale is not restored. Perhaps you should try-catch execution of "dos" function.

13 Oct 2014 DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot Briot, Jerome

"feature('locale');" added.
Thanks !

13 Oct 2014 DOS In Translation Execute DOS command and return output with good character encoding Author: Jerome Briot Mikhail

My previous comment is gone for some reason.

Here's how you can avoid invoking cmd to detect encoding:

loc = feature('locale');
encoding = loc.terminalEncoding;

Contact us