フィルターのクリア

Raspberry pi camera not detected in MATLAB, works with Simulink

10 ビュー (過去 30 日間)
Siddhesh Rane
Siddhesh Rane 2019 年 2 月 28 日
回答済み: Angelo Yeo 2023 年 8 月 18 日
I am using following sketch in simulink with rpi camera which works fine.MATLAB_Question.PNG
But when i am tryinf to use below mentioned command I get an error message
mycam = cameraboard(rpi,'Resolution','1280x720')
Warning: Connection to SSH server at 192.168.0.101 closed. Clear the hardware communication object and re-create it to establish connection.
> In raspi.internal.cameraboard/get.CameraAvailable (line 256)
In raspi.internal.cameraboard (line 141)
In raspi.internal.raspiBase/cameraboard (line 592)
In raspi/cameraboard (line 835)
Failed to detect a Camera Board connected to the Raspberry Pi hardware. If you connected a Camera Board, check that:
1. The ribbon cable connecting the camera module to the board is securely seated at both ends
2. The connectors on the ribbon cable are inserted to the CSI connector and the camera PCB the right way
3. Camera Board is enabled in the "raspi-config" Linux utility
  1 件のコメント
Hesaneh Kazemi
Hesaneh Kazemi 2020 年 10 月 14 日
Hi! Were you able to fix this issue?

サインインしてコメントする。

回答 (1 件)

Angelo Yeo
Angelo Yeo 2023 年 8 月 18 日
There are a few things to check.
1) Did you correctly install Raspberry Pi Support package? This can be found with a command below.
>> matlabshared.supportpkg.getInstalled
2) What does the command below show?
>> rpi = raspi
Does the command show you available camera correctly? Or are there multiple available cameras?
3) Did you correctly check what the error message suggests?
4) Another troubleshooting guide can be found in the doc below.
- Troubleshoot Raspberry Pi Camera Board
5) Last but not least, do you use USB camera by any chance? The cameraboard function is supposed to be used with CSI camera and may not support USB camera.

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by