How i can i link my m file with simulink block?
14 次查看(过去 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!