Why do I get an “Expected hostname to be nonempty” error when connecting to my NVIDIA Jetson DRIVE Developer Kit?
I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’);I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’); I am using an NVIDIA Jetson-series Developer Kit that supports NVIDIA DRIVE, such as the Jetson Orin AGX. I am able to complete the following example without any issues:
https://www.mathworks.com/help/releases/R2023b/coder/nvidia/ug/getting-started-with-the-gpu-coder-support-package-for-nvidia-gpus.html
After adapting my own code according to the above example, I am no longer able to connect to the board. When I run the "codegen" command, I get the following error:
Expected hostname to be nonempty.
But I know the hostname, username, and password are all correct. The relevant part of my code looks like this:
hwobj = jetson(‘correctHostname’, ‘correctUsername’, ‘correctPassword’); codegen(‘-codegen’, cfg, ‘segnet_predict’, ‘-args’, {img}, ‘-report’); nvidia-jetson, nvidia-drive, matlab-coder, gpu-coder, hardware-support-package MATLAB Answers — New Questions