필터 지우기
필터 지우기

how can i send constant input values to workspace from simulink model?

조회 수: 7 (최근 30일)
how can i send constant input values to workspace from simulink model and later how can i use those variables in mfile, do some changes to them and then sending it back to simulink model?
  댓글 수: 2
Yao Li
Yao Li 2013년 4월 15일
The changes will be made during the simulation or after the simulation? If you just wanna change the value after a simulation and apply the new value in the next simulation, use the block to workspace.
shivakumar
shivakumar 2013년 4월 16일
편집: shivakumar 2013년 4월 16일
During simulation.

댓글을 달려면 로그인하십시오.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 16일
If you are using a constant block, it's more logical if you define your constant c in windows command or in your m-file which you need to run before starting your simulation, and set your constant bloc value to c.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by