1
votes

I am trying to do an example in MATLAB Simulink documentation.

Here is the link:

http://www.mathworks.com/help/toolbox/simulink/gs/bq5iw8a.html

I did exactly what the documentation said, but when I run it, it said:

"Input port 1 of 'simple_test_model/Sine Wave Function' is not connected."

But the documentation does not say anything about the input of Sine Wave Function. What should I do so that I can simulate?

1

1 Answers

3
votes

The Sine Wave block documentation says

This block is the same as the Sine Wave Function block that appears in the Math Operations library. If you select Use external source for the Time parameter in the block dialog box, you get the Sine Wave Function block.

Switch the Sine Wave block parameter for Time back to Use simulation time.