码迷,mamicode.com
首页 > 其他好文 > 详细

Configure Pi as simulation hardware for Simulink

时间:2014-07-10 13:42:50      阅读:338      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   width   2014   cti   

1. Only version not older than R2013 supports Raspberry Pi. First, download support package in Matlab:

http://www.mathworks.cn/matlabcentral/fx_files/40313/5/raspberrypi.zip

2. Open raspberrypi.mlpkginstall in Matlab, and just follow the instructions, you will get everything ready.

bubuko.com,布布扣

3. After installation, get your Pi connected into the router in your home, and remember the IP address in management page, because Matlab connecting Pi via SSH.

4. Open Simulink in Matlab, add a new model, configure SinWave and Gain.

bubuko.com,布布扣

5. Open Model Configuration Parameters, or Ctrl+E.

bubuko.com,布布扣

Configure the IP address , user name is pi, password is raspberry.

6. Configure simulation, time is inf, device is External.

bubuko.com,布布扣

7. Run it.

bubuko.com,布布扣

Configure Pi as simulation hardware for Simulink,布布扣,bubuko.com

Configure Pi as simulation hardware for Simulink

标签:style   blog   http   width   2014   cti   

原文地址:http://www.cnblogs.com/craftor/p/3811719.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!