How i can i link my m file with simulink block?
조회 수: 15 (최근 30일)
이전 댓글 표시
Helloo guy... i have problem communication between m file with simulink.... i have plot the real time data in figure from arduino that send into matlab by bluetooth. The data is from sensor mpu6050 in angle.... now i have simulink block that have fuzzy logic algorithm...now i want the angle value will be my input for my simulink block...can anybody told how?..i have read about matlab function...but still not understand
댓글 수: 0
채택된 답변
Hari Desanur
2016년 11월 16일
You can execute your MATLAB code from within the model to read the input data from your sensor and then pass this data into your Simulink block.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!