Initializing a serial object in one simulink block, retrieving it in another
1 次查看(过去 30 天)
显示 更早的评论
I have serial comm. up and running between matlab and an arduino in order to interface with an RC transmitter via a PPM signal. I use a function to initialize the channel, then another function to transmit on that channel. How can I accomplish this in simulink? It would be ideal to have a block that ran once, or that I could click to init. I'll also need to know how best to retrieve the serial object in the 'transmit' block.
0 个评论
回答(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!