首页 > 其他 > 详细

Configure Pi as simulation hardware for Simulink

时间:2014-07-10 13:41:48      阅读:344      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!