Hi Eeshwar,
A possible reason for the error 'The serial port, /dev/ttyACM0, is not available' might be due to the lack of permissions. You can grant the required permissions by running the following commands in Linux terminal:
sudo chmod +777 /run/lock
sudo chmod +777 /dev/ttyACM0
You can verify the availability of the port by running the following commands in the MATLAB Command Window:
instrhwinfo('serial');
ans.AvailableSerialPorts
You can find more information regarding the 'instrhwinfo' function here:
If the output contains '/dev/ttyACM0', you can now try connecting to the Zynq hardware.
If the port is still not available, make sure that the hardware is properly connected to your device and relaunch MATLAB. For additional information related to this issue, refer to the following MATLAB answer:
Hope this helps!