Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

accepted

Yes,thereareafewprocessorspowerfulenoughtorun(some)
programswrittenintheMATLABlanguagedirectly,replacinga
PC.
Sofar,Ionlyknow4waystodothat:
Ifyouhavea
motherboardpowerfulenoughtorunLinux
,such
asasBeagleBoneortheRaspberryPiortheCubieboard,you
could:
Installtheopensource
Octave
tool,whichcan
understandandexecutemanyMATLABlanguage
programsdirectly."RunningMatlabComputerVision
onRaspberryPiwithLinuxOctave.Part1."(
a)
Installtheopensource
Scilab
tool,whichcan
understandandexecutesomeMATLABlanguage
programsdirectly.
Installtheopensource
FreeMat
tool,whichcan
understandandexecutesomeMATLABprograms
directly.
Oftentheseapproacheseitherdon'tbotherproducingany
graphicsatallontheembeddedsystem,orusetheopensource
matplotliblibrary
thatisdesignedtobeeasytousefromwithin
MATLABaswellaspossibletorunonanymachinethatcanrun
Pythonevenmachinesthatcan'trunMATLAB.
WhiletheRaspberryPicanrun(some)programswritteninthe
MATLABlanguageusingtheaboveapproaches,alas,the
RaspberryPiisn'tquitePCcompatibleenoughtorunMATLAB.
"MATLABforLinuxonthePi?No."
(b)
Ifyouhavesome"PCcompatible"(x86processor)miniPC,such
asmanyPC104and(all?)P
CI104
embeddedsystems,orthe
NUC
,orthehugenumberof
microATX
andsmaller

motherboards,youcoulduseanyoftheaboveoptions,oryou
couldalso:
InstallMATLABforWindowsorMATLABforLinux.
"MATLABforLinuxsystemrequirements"
(c)

(d)
"InstallMatlabinLinux"
(e)

alternativesthatdon'tquitemeetthatcriteria
Youprobablyalreadyknowthat"runningMATLABcodedirectly
onastandalonemicrocontroller"isnotthatpopularother
approachesinclude
UsingMATLABtodevelopSimulinkmodelsthatrunas
standaloneapplications."RaspberryPiSupportfrom
Simulink"
(f)
"RunSimulinkmodelson...Arduino...
BeagleBoard...Gumstix...RaspberryPi...LEGO
Mindstorms..."
(g)
"RaspberryPiProgrammingusing
Simulink"
(h)

(i)
"MATLAB/SimulinkonBeagleBone
Black"
(j)
"RapidBeagleBoardPrototypingwithMatlab
andSimulink"
(k)
runningMATLABcodeonaPCthatcommunicatesback
andforthwithamicrocontroller,todothingsthat
neitheronecoulddoalone."theMATLABSupport
PackageforRaspberryPiHardware"
(l)
"ThingSpeak
SupportfromMATLAB...withArduino"(
m)
UseMATLABtotryoutabunchofhighlevel
algorithmsandusethatimplementationtoestimate
howmuchRAMandprocessingpoweritneeds,then
laterreimplementthosealgorithmsfromscratchto
runstandaloneonpracticallyanymicrocontrollerwith
atleastthatmuchRAMandprocessingpower.
(TypicallyinForthorCorC++,sincepracticallyevery
microcontrollerhasacompilerforthoselanguagesand
hardlyanyotherlanguages).

You might also like