Rank: 210980 based on 0 downloads (last 30 days) and 0 file submitted
photo

Mehwish

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Mehwish View all
Updated File Comments Rating
11 Feb 2013 Simulink for PCV (Point Cloud Viewer) Simulink for PCV is a block for 3D Point Cloud View and wrapped native OpenCV library. Author: Takashi Chikamasa

Hi Takashi,
I'm getting the same error (Invalid >MEX-file '...\Lib\sfun_pcv.mexw64': The >specified module could not be found). Have you had a chance to fix the error yet? If yes, looking forward to how I can fix it as well.

Also, if I wanted to add a 'Video to Workspace' block after the Pointcloud block, would it be possible? There isn't a output port. Is there a way to extract the XYZ data?

28 Jan 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

Also, after I run the setup file, I'm supposed to get both files, sfun_nid.mexw32 and simulinkinfo.m, right? Because I've only been able to get simulinkinfo.m file so far.

28 Jan 2013 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'm still having the same problems.

1) Initially I was using the setup_kinectsdk.m file. When I run the .m file, I'm asked to specify the location of the Kinect installers. I couldn't solve the problem even when I used C:\Program Files\Microsoft SDKs\Kinect\v1.6

2) I know my Kinect SDK was installed properly. But just incase, I now tried with setup_openni.m file. OpenNI is installed correctly, as verified by Matlab as 'ok' and the camera is capturing images correctly when used as a webcam. But I'm experiencing the same errors as before. Problem with directory or path...

Do I have to change the code for any of the files to make it work for me?

>> dir1 = 'C:\Program Files\OpenNI';
>> setup_openni(dir1);
### Verifying OpenNI: OK
### Confirming Simulink Support for Kinect installations with OpenNI...
### Setting MATLAB path to .\Lib and .\Lib\doc_en directories.
Warning: Name is nonexistent or not a directory: C:\Users\EDP\Documents\MATLAB\Lib
> In path at 110
In addpath at 87
In setup_openni at 78
Warning: Name is nonexistent or not a directory:
C:\Users\EDP\Documents\MATLAB\Lib\doc_en
> In path at 110
In addpath at 87
In setup_openni at 79
### Generating C:\Users\EDP\Documents\MATLAB\Lib\simulinkfornidinfo.m
Error using fclose
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in setup_openni (line 94)
fclose(fid);

23 Jan 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

However, I'm getting the following error:

>> setup_kinectsdk
### Confirming Simulink Support for Kinect installations with Kinect SDK...
### Setting MATLAB path to .\Lib and .\Lib\doc_en directories.
Warning: Name is nonexistent or not a directory:
C:\Users\EDP\Documents\MATLAB\simulink_support_for_kinect_0.6.0\Lib
> In path at 110
In addpath at 87
In setup_kinectsdk at 54
Warning: Name is nonexistent or not a directory:
C:\Users\EDP\Documents\MATLAB\simulink_support_for_kinect_0.6.0\Lib\doc_en
> In path at 110
In addpath at 87
In setup_kinectsdk at 55
### Generating C:\Users\EDP\Documents\MATLAB\simulink_support_for_kinect_0.6.0\Lib\simulinkfornidinfo.m
Error using fclose
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in setup_kinectsdk (line 68)
fclose(fid);

23 Jan 2013 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 checked that file simulinkfornidinfo.m. And yes it says the following:

% This file is automatically generated by setup_kinectsdk.m
SIMULINKFORNIDDRIVER = 'KINECT_SDK';
SIMULINKFORNIDKINECTSDKPATH = 'C:\Users\EDP\Documents\MATLAB\simulink_support_for_kinect_0.6.0\slkinect\Lib';

Contact us