Rank: 1345 based on 109 downloads (last 30 days) and 5 files submitted
photo

Emanuele Ruffaldi

E-mail
Company/University
Scuola Superiore S.Anna, PERCRO Lab

Personal Profile:

http://www.teslacore.it
http://www.percro.org

Professional Interests:
robotics, machine learning, computer graphics

 

Watch this Author's files

 

Files Posted by Emanuele View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Jun 2013 Stacked Matrix Permutation Simplify the reordering of the sub-dimensions in a stacked matrices Author: Emanuele Ruffaldi matrix, stacked, permutation, reorder, features 15 0
12 Sep 2011 Simulink flexible Store To File ToFile block with custom dynamic filename and metadata variables plus autoversioning. Author: Emanuele Ruffaldi simulink 16 0
11 Feb 2010 Structured Data Manipulation "Structy" is an improved struct for uniform data supporting sort, label rename and units of measure. Author: Emanuele Ruffaldi struct, data, table 15 1
22 Jun 2009 Fast FLAC reader Lossless FLAC reader with interface compatible with wavread Author: Emanuele Ruffaldi audio, lossless, flac, decoding 19 0
20 May 2009 Screenshot Simulink Keyboard Input v2 Allows to read input keyboard during Simulink simulation Author: Emanuele Ruffaldi keyboard input, simulink, user input, utilities 44 2
Comments and Ratings by Emanuele View all
Updated File Comments Rating
13 May 2014 DimensionedVariable Class - units support for MATLAB A new variable type allowing use of real-world units and dimensions with enforced unit consistency. Author: Sky Sartorius

Great tool. Two minor changes for improving interoperability with existing code:

function outSize = size(v1,v2)
outSize = size(v1.value);
if nargin == 2
outSize = outSize(v2);
end

function y = content(x)
y = x.value
end

11 Nov 2011 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

Hi Takashi,

I am referring to the ONI files that can be recorded with NiViewer provided with OpenNI. These ONI files contain the various Kinect streams (depth and/or image). Using this patch it is possible to keep the same Simulink model and select to get data from a recorded ONI file or from the real sensor. It is useful for testing a model with consistent input (e.g. different users). The patch works by adding a FILE_BLOCK (7) to the S-Function dispatcher, and selecting it if the filename parameter of the mask is not empty.

It is even possible to have NiViewer recording data while using the real Kinect from Simulink.

Best,
Emanuele

09 Nov 2011 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

I've made an update with two changes:
- support for MATLAB 64bit
- support for using recorded ONI files as input

There is now a new block for file input.
Another one allows mixed situation: if the filename is empty it uses the real-time input otherwise the recorded file.

Thanks for this greate package

Source code: http://dl.dropbox.com/u/146279/simulink_nid_0.3.1file.zip

01 Nov 2011 Kinect Matlab Microsoft Kinect, OpenNI wrapper, Skeleton, Depth Author: Dirk-Jan Kroon

I've tested it with 64bits. You can modify the compile_cpp_files.m as follows:

try
c = computer;
tis64 = strcmp('64',c(end-1:end));
catch me
tis64 = 0;
end

if(nargin<1)
OpenNiPathInclude=getenv('OPEN_NI_INCLUDE');
OpenNiPathLib=getenv('OPEN_NI_LIB');
if(isempty(OpenNiPathInclude)||isempty(OpenNiPathLib))
error('OpenNI path not found, Please call the function like compile_cpp_files(''examplepath\openNI'')');
end
else
OpenNiPathLib=[OpenNiPath 'Lib'];
if tis64
OpenNiPathLib=[OpenNiPath 'Lib64'];
end
OpenNiPathInclude=[OpenNiPath 'Include'];
end

if tis64
lib = '-lopenNI64';
else
lib = '-lopenNI';
end

cd('Mex');
files=dir('*.cpp');
for i=1:length(files)
Filename=files(i).name;
clear(Filename);
mex('-v',['-L' OpenNiPathLib],lib,['-I' OpenNiPathInclude],Filename);
end
cd('..');

01 Nov 2011 Kinect_NITE_PointViewer_matlab Kinect, OpenNI wrapper, NITE PointViewer example, Hand Tracking, IR & Depth, matlab interface Author: HONGMIN ZHU

I've tested it with 64bits. You can modify the compile_cpp_files.m as follows:

try
c = computer;
tis64 = strcmp('64',c(end-1:end));
catch me
tis64 = 0;
end

if(nargin<1)
OpenNiPathInclude=getenv('OPEN_NI_INCLUDE');
OpenNiPathLib=getenv('OPEN_NI_LIB');
if(isempty(OpenNiPathInclude)||isempty(OpenNiPathLib))
error('OpenNI path not found, Please call the function like compile_cpp_files(''examplepath\openNI'')');
end
else
OpenNiPathLib=[OpenNiPath 'Lib'];
if tis64
OpenNiPathLib=[OpenNiPath 'Lib64'];
end
OpenNiPathInclude=[OpenNiPath 'Include'];
end

if tis64
lib = '-lopenNI64';
else
lib = '-lopenNI';
end

cd('Mex');
files=dir('*.cpp');
for i=1:length(files)
Filename=files(i).name;
clear(Filename);
mex('-v',['-L' OpenNiPathLib],lib,['-I' OpenNiPathInclude],Filename);
end
cd('..');

Comments and Ratings on Emanuele's Files View all
Updated File Comment by Comments Rating
07 May 2014 Simulink Keyboard Input v2 Allows to read input keyboard during Simulink simulation Author: Emanuele Ruffaldi Amit

i also have the same problem can somebody resolve this thing"sfun_keyboard_input_v1_2 does not exist. "
Thank you

23 Jul 2013 Simulink Keyboard Input v2 Allows to read input keyboard during Simulink simulation Author: Emanuele Ruffaldi Chiara

If I save both of your files in the same folder, and I run the model (in Normal mode, is right?), it says sfun_keyboard_input_v1_2 does not exist.
Do you know why?
Thank you

01 Nov 2011 Structured Data Manipulation "Structy" is an improved struct for uniform data supporting sort, label rename and units of measure. Author: Emanuele Ruffaldi Ruffaldi, Emanuele

I've made it when dataset was not available. I suggest using dataset right now.

Contact us