필터 지우기
필터 지우기

How can I access and process real-time Simulink variables from Matlab script?

조회 수: 1 (최근 30일)
Amir Rahimi
Amir Rahimi 2020년 7월 15일
편집: Amir Rahimi 2020년 7월 15일
Hi dear friends,
I am working on a project in which I need to send data from Matlab to simulink at time T. Some process is done on the data in Simulink at that time step. Based on the results achived from Simulink at that step, I need to define new values which will be sent to Simulink in the next step (T+dT).
As far as I know, ToWorkspace and FromWorkspace blocks just are accessible after simulation is done. The only option that remains is DataLogging and Callback functions, which also seem not to be able to interact with Matlab in real-time (synchronously).
I have seen many of my friends who really need this option in Matlab/Simulink. But I don't know why Mathworks doesn't add this feature to its software. Anyways, does anynody have any idea how should I tackle this issue?
Thanks,

답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by