Rank: 3965 based on 25 downloads (last 30 days) and 3 files submitted
photo

Daniel O'Shea

E-mail
Company/University
Stanford University

Personal Profile:

 

Watch this Author's files

 

Files Posted by Daniel O'Shea View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Mar 2014 Screenshot ThreeVector Draws three-pronged labeled axis vectors that indicate 3d plot rotation Author: Daniel O'Shea plot, dataplot, figure, axis, 3d, rotate 6 0
  • 5.0
5.0 | 1 rating
08 Jul 2013 Simulink Manipulation Utilities A collection of functions for manipulating the structure and connectivity of Simulink models Author: Daniel O'Shea simulink, mask, callback, system, block, selfconfiguring 9 0
20 Sep 2012 Screenshot tcprintf : ANSI colored output in terminal tcprintf provides colored output when using MATLAB from a terminal using ANSI escape codes. Author: Daniel O'Shea color, fprintf, terminal, ansi, debug 10 2
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Daniel O'Shea
Updated File Comments Rating
13 Mar 2013 typecast and typecastx C-mex functions typecast and typecastx are mex functions that mimic the MATLAB typecast function with extensions Author: James Tursa

Very nice! For those having some trouble trying to build this on Mac 10.8 or recent versions of Ubuntu, try the following:

On Mac OS 10.8:
from http://stackoverflow.com/questions/12643236/matlab-2012a-mex-to-work-with-xcode-4-5-on-mountain-lion

run mex -setup and choose mexopts.sh (1 for me)
edit ~/.matlab/R2012b/mexopts.sh
change CC from gcc to llvm-gcc
change CXX from g++ to llvm-g++
set SDKROOT to '/'

On ubuntu:
from
http://www.mathworks.com/matlabcentral/answers/47064-running-mex-files-compiled-on-linux
http://stackoverflow.com/a/5963813

run setenv('LD_LIBRARY_PATH', '/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64')
before running typecastx

Comments and Ratings on Daniel O'Shea's Files View all
Updated File Comment by Comments Rating
14 Apr 2014 ThreeVector Draws three-pronged labeled axis vectors that indicate 3d plot rotation Author: Daniel O'Shea Shawn Mikula

23 Jan 2013 tcprintf : ANSI colored output in terminal tcprintf provides colored output when using MATLAB from a terminal using ANSI escape codes. Author: Daniel O'Shea Vincent

perfect! exactly what I was looking for.

20 Sep 2012 tcprintf : ANSI colored output in terminal tcprintf provides colored output when using MATLAB from a terminal using ANSI escape codes. Author: Daniel O'Shea Yair Altman

Very nice idea and implementation. I liked the blink [counter-]suggestion :-)

A few ideas for improvement:
- make the inputs case-insensitive
- revert to cprintf (if available) in case of usejava('desktop') and not datatip
- use the full 256 color indices use by xterm for fg,bg colors (ANSI codes 38,48 respectively); KDE's Konsole even supports full RGB here
- codes 35,45 are often called magenta, not purple; I suggest that you accept both of these as synonyms to this code
- similarly, 33,43 are displayed as brown on VGA monitors, so I suggest accepting "brown" as a synonym

20 Sep 2012 tcprintf : ANSI colored output in terminal tcprintf provides colored output when using MATLAB from a terminal using ANSI escape codes. Author: Daniel O'Shea Yair Altman

Contact us