この質問は閉じられています。 編集または回答するには再度開いてください。

"index exceeds matrix dimensions" when I connect my Raspberry Pi model B to Matlab2013b.

1 ビュー (過去 30 日間)
Aditya G Manjunath
Aditya G Manjunath 2014 年 8 月 24 日
終了済み: MATLAB Answer Bot 2021 年 8 月 20 日
Could please someone help me with this error?
  3 件のコメント
Ahmed  Abdelmohssen
Ahmed Abdelmohssen 2016 年 2 月 22 日
Same exact thing here can someone help????

回答 (1 件)

Murat Belge
Murat Belge 2014 年 12 月 10 日
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: ''
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
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!

Translated by