Can I use Arduino and Simulink for fuzzy logic?

Is it possible to build a fuzzy logic controller in simulink and implement it on an Arduino board to get real-time readings and actions?

답변 (3개)

Ryan G
Ryan G 2012년 9월 25일

1 개 추천

This Fuzzy Logic Documentation states that the blockes are all code generation compatible so I would expect them to behave just as any other Simulink block would with the Arduino target deployment.

댓글 수: 2

damon
damon 2013년 4월 17일
Hey, I tried to implement the fuzzy logic on the arduino uno and it doesn't work.There is a possibility that it isn't supported. Is it possible to run the controller on my pc and use serial receive and serial transmit to read the sensors on the arduino and give commands to the actuators?
Damon: Could you elaborate on "it doesn't work" - do you see errors, or something else? Although I don't have experience with this, it appears that you can interface with Arduino from MATLAB. However, I don't know how 'real-time' this is, to use in a Plant-Controller setup.

댓글을 달려면 로그인하십시오.

Ali
Ali 2013년 10월 30일

1 개 추천

it will convert the fuzzy file to arduino code .

댓글 수: 2

PLEASE HELP ME I CREE BLICK FOR FUZZI LOGIC IN SIMULINK AND SEND IN ARDUINO AND DOESNT WORK WHI THE ARDUINO RECIEVER THE INFORMATION FROM SIMULINK AND DONT WORK WITH THE CODE PLEASE HELP ME
SyukriY
SyukriY 2016년 12월 16일
You know, Actually, what Ali suggested should help you. Because I myself can use it.
The link is the online software to convert from MATLAB fis file to arduino ino file.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

질문:

2012년 9월 23일

댓글:

2016년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by