I am trying to solve a Matlab Simulink problem

2 vues (au cours des 30 derniers jours)
Temidayo Daniel
Temidayo Daniel le 5 Juin 2024
Modifié(e) : Zinea le 7 Juin 2024
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

Réponses (2)

Ganesh
Ganesh le 6 Juin 2024
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.
  1 commentaire
Temidayo Daniel
Temidayo Daniel le 6 Juin 2024
Hi Ganesh, Thank you for the response

Connectez-vous pour commenter.


Zinea
Zinea le 6 Juin 2024
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:
  2 commentaires
Temidayo Daniel
Temidayo Daniel le 6 Juin 2024
Hi Zinea, Thank you for the response, I have tried it again but I think there is something missing, do we have to specify values in the sine, pulse generator or step block?
Zinea
Zinea le 7 Juin 2024
Modifié(e) : Zinea le 7 Juin 2024
You do not have to specify any values, just the connections need to be made. I think you might have changed something by mistake in the model. You can try redoing the tasks starting from Task1. Let me know if you still face issues!

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by