Clear Filters
Clear Filters

Simulink source commands finding

3 views (last 30 days)
Mustafa Duran
Mustafa Duran on 15 Apr 2024
Edited: Fangjun Jiang on 17 Apr 2024
I want to use that input graph to calculate output angular velocity in Simulink, i looked at the source commands like step, ramp but i couldn't find an appropriate command to plot this with time. I can use 1-d plot but i don't want any input to that command. I want a command block like step command. How can i do this in Simulink?
Thanks.
  2 Comments
vidyesh
vidyesh on 16 Apr 2024
You can use a combination of Step, Ramp, Add and Subtract (Sum block can be used as subtractor by changing the parameters) blocks to achieve the graph.
Mustafa Duran
Mustafa Duran on 16 Apr 2024
Thanks, it has worked. You saved my day. I have another question:
I want to take that 1/inertia gain value from MATLAB workspace and 1/inertia gain value must be identified as mask parameter. I made it mask parameter but i couldn't make to extract it from MATLAB workspace. How can i do that?
Thanks.

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 17 Apr 2024
Edited: Fangjun Jiang on 17 Apr 2024
Use the Signal Editor block
or in older version, it is called the Signal Builder block

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!