workspaceDir - Get the build directory on the NVIDIA hardware - MATLAB (original) (raw)
You can check the current workspace directory used by the code generator on an NVIDIA Jetson hardware from the MATLABĀ® environment using the workspaceDir
method of the jetson hardware connection object.
To create a live hardware connection object, provide the host name or IP address, user name, and password of the target board.
hwObj = jetson('jetson-board-name','ubuntu','ubuntu'); workspaceDir(hwObj);
ans = '/home/ubuntu/MATLAB_ws/R2024a/C/Users/test/MATLAB'
The output show is representative and will differ from your actual output.