Deployment of Simulink model to Raspberry Pi

조회 수: 4 (최근 30일)
Zafer
Zafer 2014년 1월 5일
답변: Murat Belge 2014년 2월 26일
Murat Bey merhabalar. Aklımda birkaç proje var ve Raspberry Pi almak istiyorum. Simulink yada Labview tarzı görsel programlama dillerini daha çok seviyorum. Şunu sormak istiyorum; Raspi yi açtığımda direkt çalışacak bir programı Simulink ile oluşturarak Raspi ye atabilir miyiz? Raspi yi açtığımda kamera görüntüsünü direkt olarak sd karta kaydeden bir programı Simulink ile oluşturarak Raspi de çalıştırabilir miyim? Çok teşekkürler.

답변 (1개)

Murat Belge
Murat Belge 2014년 2월 26일
Selam Zafer,
Herkesin anlayabilmesi icin sorunu ingilizce cevapliyorum.
Translated question: Can I create a stand-alone application running on Raspberry Pi? For example, I would like to create an application that records the images captured from the camera to the SD card. Is this possible?
Answer: Yes. All Simulink models developed for Raspberry Pi is translated to an application executable that runs on Raspberry Pi. The executable is typically saved in "/home/pi/<simulink model name>_rtt/MW directory. Once the Simulink model is compiled / run on the Raspberry Pi once, you can launch the application anytime.
There is a demo called "Motion Sensor Camera" that does something similar to what you are asking. In this demo, Raspberry Pi monitors a PIR motion sensor. When PIR motion sensor detects movement, camera is activated and a snapshot is captured. The snapshot is saved onto the SD card for viewing later. You can improve on this if you are OK with saving just snapshots.

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by