필터 지우기
필터 지우기

Serial Port in Simulink

조회 수: 2 (최근 30일)
Thomas
Thomas 2017년 2월 27일
답변: Yueming Yang 2019년 7월 2일
Hi Everyone,
So, I've got a Nucleo-F103RB development board, and I've got the device communicating successfully (via UART) to the MATLAB workspace. Now I want to move the functions that I've created for this communication into Simulink. What I envision, is setting up and opening the COM port within the MATLAB workspace, then set the serial object as global, and this to be used within Simulink to poll the transmit and receive functions.
Is it possible to do this (note I don't have the "Instrument Control Toolbox"), and if it is...how, so far when I've run this I get an error about not using a Data Store Memory block.
Cheers, Tom

답변 (1개)

Yueming Yang
Yueming Yang 2019년 7월 2일
Maybe you can try the example SerialGUI without ICT(instrument control toolbox). It works well on my project.

카테고리

Help CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by