problem with " Undefined function or variable 'raspi' "

Hi, I'm using matlab R2013a. when i type this,
mypi = raspi;
I got Undefined function or variable 'raspi' error. but !ping command is working. Can anyone help?

 採用された回答

Walter Roberson
Walter Roberson 2015 年 10 月 11 日

0 投票

You are in luck, your version of MATLAB is the first one for which Raspberry Pi support is available. You need to download http://www.mathworks.com/matlabcentral/fileexchange/40313-simulink-support-package-for-raspberry-pi-hardware

5 件のコメント

Biruntha Gnaneswaran
Biruntha Gnaneswaran 2015 年 10 月 11 日
@Walter Roberson Thankyou. I already install matlab support package for raspberry pi. Do i need to install both matlab and simulink support package?
Walter Roberson
Walter Roberson 2015 年 10 月 11 日
It should not be necessary to install the Simulink support package for that purpose. However you might need to adjust your MATLAB path. I do not have that release or operating system to test with.
Biruntha Gnaneswaran
Biruntha Gnaneswaran 2015 年 10 月 11 日
@Walter Roberson Sry Walter Roberson, I already install Simulink support package.
when i click on Add-Ons it shows only Simulink support package. I need both packages how can i do this?
Thankyou
Walter Roberson
Walter Roberson 2015 年 10 月 11 日
Try http://www.mathworks.com/hardware-support/raspberry-pi-matlab.html If that package is too new for your version of MATLAB then install the Simulink support package listed above.
Biruntha Gnaneswaran
Biruntha Gnaneswaran 2015 年 10 月 20 日
matlab support package is available on 2014a. so i solve this problem using 2014a

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

その他の回答 (1 件)

Zuzanna
Zuzanna 2015 年 11 月 10 日
編集済み: Zuzanna 2015 年 11 月 10 日

1 投票

I had the same problem.. only downloading newer Matlab helped

カテゴリ

ヘルプ センター および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by