How can I send variable from workspace to simulink?

48 次查看(过去 30 天)
I have a simulink model. And ı have a constant block that ı want to send to variable from workspace. How can I send?

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2018-2-15
If you have the variable 'a' in base workspace, double click the Constant block, put in 'a' (without the quote) under "Constant value:"
  7 个评论
Fangjun Jiang
Fangjun Jiang 2018-2-15
That is something on a different topic. Double click the "Simulinnk-PS Converter" block, read the description regarding "derivatives", click the "Input Handling" panel, play with the "Filtering and derivatives" and "Provided signals:" settings.
bayram özmen
bayram özmen 2018-2-15
Thank you so much.In ınput handling ı set the second-order filtering and then simulated. But ı did not understand the reason exactly.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by