I'm working on Matlab 2015a with support package for raspberry pi; Windows 7; Raspberry Pi 2 B
Rasbian Wheezy is downloaded from www.raspberrypi.org. Simulink (blinking led example) is working; Simulink (camera example) not; Writing programs in command window - not. The worst is that raspi is not working.
mypi=raspi('192.168.0.12','pi','raspberry')
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: Unable to connect, because
the target machine actively refused it.
Everything is connected properly, IP address checked in n-map; ping is working, putty working.
I tried downloading Raspian Wheezy also from Matlab. Than N-map cannot find raspberry in my network at all; test connection fails; tried SD card setup 3 times - all failes. Ack LED blinks around 5sec than stops, the other is solid red all the time.
Warning: Could not detect the Raspberry Pi hardware in allotted time.
Try using "Test Connection" button.
> In raspi.setup.RaspberryPiFirmwareUpdate/configureNetwork (line 404)
In raspi.setup.internal.executeRaspberryPiConnectHardware (line 38)
In hwconnectinstaller.Step/next (line 169)
and
>> mypi=rspi
Error using raspi (line 157)
Cannot establish an SSH connection to the board with device address
"raspberrypi-zuza".
Caused by:
Error using raspi (line 153)
Error executing command: Unable to open connection:
Host does not exist
Help!!!