Skip to content
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

arrangement about the requirements #1

Open
jeihyunsung opened this issue Sep 9, 2018 · 1 comment
Open

arrangement about the requirements #1

jeihyunsung opened this issue Sep 9, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jeihyunsung
Copy link

The requirements in this repo are for Linux users, and I couldn't understand fully about that there is another download file for run this code.

First for running this code MATLAB, we should download another MATLAB utilities from https://github.com/ultralytics/functions-matlab
and there are some useful utilites used in the code 'buildscene.m' like 'fig' functions from line 19.
Next I tried to run this code with addpath for MATLAB utilites and for convenience, I put this kinect folder into the MATLAB utility folder, 'functions-matlab'. And then I run the code addpath to all folders.

Also, I think the code 'addpath(genpath('/functions-matlab'))' should be changed to
'addpath(genpath('./functions-matlab'))' (add a mark) is it right? I did it anyway.

@glenn-jocher glenn-jocher self-assigned this Sep 9, 2018
@glenn-jocher glenn-jocher added the bug Something isn't working label Sep 9, 2018
@pderrenger
Copy link
Member

@jeihyunsung hello!

Thank you for reaching out with your questions regarding the setup for MATLAB utilities. It seems like you've been exploring the integration of our code with MATLAB and have some queries about the correct usage of addpath.

You are correct that the addpath function is used to include directories in MATLAB's search path, allowing it to find the functions you need. If you've placed the 'functions-matlab' directory within your current working directory, then using addpath(genpath('./functions-matlab')) is indeed the right approach. The . refers to the current directory, and genpath generates a path string that includes all the subfolders in 'functions-matlab', which is necessary for MATLAB to access all the utilities.

If you encounter any further issues or have additional questions, please feel free to ask. Remember, the documentation at Ultralytics Docs can also be a helpful resource for additional information.

Happy coding! 😊👨‍💻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants