Info
この質問は閉じられています。 編集または回答するには再度開いてください。
"index exceeds matrix dimensions" when I connect my Raspberry Pi model B to Matlab2013b.
1 ビュー (過去 30 日間)
表示 古いコメント
Could please someone help me with this error?
3 件のコメント
回答 (1 件)
Murat Belge
2014 年 12 月 10 日
Robert:
You can install MATLAB Support Package for Raspberry Pi without the Simulink Support package. Just uncheck Simulink support package in the installer GUI.
What network configuration did you choose when connecting your Raspberry Pi to the network (in the "Configure network" window)?
Work-around: If you created the SD card for the Raspberry Pi, just skip the "Connect the Raspberry Pi Hardware" GUI by clicking "Cancel" button. Then on the MATLAB command line execute:
>> raspi.internal.discoverIpAddress
ans =
Hostname: 'raspberrypi-RqgddnxxMD'
IpAddress: 'xxx.xxx.xx.xx'
The command above should display the IP address of your Raspberry Pi. Using this IP address, execute the following:
>> rpi = raspi('<IP address of your Raspberry Pi>')
Once you can establish the connection, you should be able to run Simulink or MATLAB examples for Raspberry Pi.
2 件のコメント
Eric Bott
2015 年 4 月 29 日
Further experimentation reveals that it is only when the pi is found on the network that this error appears. If the pi is disconnected from the network, then the Raspberry Pi detection process times out without event.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!