When I use the code:
mypi = raspi('192.168.0.12','pi','raspberry')
It shows this error:
Error using raspi (line 169) Cannot establish a TCP/IP connection to the board with device address "192.168.0.12". Caused by: Error using raspi (line 165) Cannot create a communication link with the remote server. Please check the input arguments(ADDRESS and PORT) and make sure the server is running. Additional Information: No connection could be made because the target machine actively refused it.
I can ping my Pi using its ip address and connect to ssh using PuTTy but seems like MATLAB is looking for a PORT. I have no idea on what ports can be used nor how to open ports in Raspberry Pi. Help