Problems to export Scope Data variable to MATLAB workspace via timer function

조회 수: 1 (최근 30일)
AN
AN 2020년 12월 21일
편집: Chaitanya Mallela 2020년 12월 24일
I am using a timer function to update variables created by a Simulink simulation in my workspace .
However when called upon by the timer function, the Scope Data is not getting exported into the MATLAB workspace. When I run the Simulink-Simulation using the run-button, however, it works. Did anyone have a similar problem and found a solution?

답변 (1개)

Chaitanya Mallela
Chaitanya Mallela 2020년 12월 24일
편집: Chaitanya Mallela 2020년 12월 24일
To export the calculated variables into the workspace, consider returning the output from sim function to load into the MATLAB workspace and return this output from the timer functions.

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by