Deployment of Simulink model to Raspberry Pi
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Murat Belge
el 26 de Feb. de 2014
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.
0 comentarios
Ver también
Categorías
Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!