How can I send variable from workspace to simulink?

109 views (last 30 days)
I have a simulink model. And ı have a constant block that ı want to send to variable from workspace. How can I send?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 15 Feb 2018
If you have the variable 'a' in base workspace, double click the Constant block, put in 'a' (without the quote) under "Constant value:"
  7 Comments
Fangjun Jiang
Fangjun Jiang on 15 Feb 2018
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 on 15 Feb 2018
Thank you so much.In ınput handling ı set the second-order filtering and then simulated. But ı did not understand the reason exactly.

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!