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
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.
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!