-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building source for matalb #9771
Comments
Hi @nchu-cha If you are using Windows, I would recommend installing the RealSense SDK with the automated installer file from the 'Assets' list of the SDK Releases page if you are not doing so already. The installer will provide the option to install the RealSense MATLAB wrapper for Windows at the same time as installing the SDK. A full instruction guide for performing this installation can be found at #9023 (comment) As far as I am aware though, the L515 camera model does not have support in the MATLAB wrapper. |
Thanks very much @nchu-cha for your confirmation that your L515 was able to work with the RealSense MATLAB wrapper. :) You should be able to move the +realsense folder to a location of your choice and then define a MATLAB search path to it, as described in #2400 (comment) If the pipe start instruction's brackets are empty then the RealSense SDK should automatically use the default configuration of the particular RealSense camera model that is attached. On the L515 model, the default configuration would be 640x480 depth at 30 FPS (30 is the only FPS available for depth and infrared on L515) and 1280x720 color at 30 FPS. If you need both depth and color to be the same then you could set them both to 640x480 with a custom cfg configuration. The L515 should have firmware 1.5.8.1 or newer installed in order to use 640x480 color. #3735 has an example of a cfg stream configuration in the MATLAB wrapper. |
thanks for your apply, I'm trying the cfg stream configuration. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
hello
I'm trying to build the source for matlab, so I follow the
readme.md
inlibrealsense/wrappers/matlab/
, In the process of building the source, there are some questions I want to ask for help.When I run the
cmake .. -D =ON
command, it showscould not find apriling
what effect will it cause?I saw a video that was executed on Linux, and used
cmake .. -L
command. I had tried this command and it showsGLFW3.3 not found, using internal version
. does it matter if I didn't install GLFW3.3?The second step in
readme.md
is build thelibrealsense_mex
target, so I copy matlab file in the wrappers, and keymake librealsense_mex
, then I get an error :fatal error: mex.h: No such file or directory
There is no file called mex.h, is it means that I need to write the mex.h file by myself? If yes, does anyone know how to write a mex.h? If no, where can I get the mex.h file?
thank you
The text was updated successfully, but these errors were encountered: