I am trying to solve a Matlab Simulink problem
3 次查看(过去 30 天)
显示 更早的评论
Hello, I am having rrouble with this problem, i tried the constant block, ramp block but didnt work out, can ayone please help me with it![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1710031/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1710031/image.png)
0 个评论
回答(2 个)
Ganesh
2024-6-6
You seem to have deleted the blocks within the "Simulink Measurement" Area and hence your assesment fails.
"Delete the blocks that make up the algorithm: blocks except the Extrude_Cmd, Reference, and Scope blocks, as well as the blocks in the Simulated measurement area." implies that the the blocks in the "Simulated measurement area" is to be unharmed, but I can understand the confusion in this statement.
In case you are stuck in such a situation, you can use the "Reset" button to see what the initial state of the task is supposed to look like.
Zinea
2024-6-6
The error occurs because the “meas_pos” signal is connected to a constant block. Instead, it needs to be connected to the “simulated measurement” subsystem (which is already provided in the figure initially; you don’t have to add it). Here is a screenshot of the solution for your reference:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1710181/image.png)
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!