problem with " Undefined function or variable 'raspi' "

13 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 11 Oct 2015
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 Comments
Walter Roberson
Walter Roberson on 11 Oct 2015
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 on 20 Oct 2015
matlab support package is available on 2014a. so i solve this problem using 2014a

Sign in to comment.

More Answers (1)

Zuzanna
Zuzanna on 10 Nov 2015
Edited: Zuzanna on 10 Nov 2015
I had the same problem.. only downloading newer Matlab helped

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!