Hi Achraf,
It sounds like you're trying to add a Constant block in Simulink, but instead of adding the block, you're inadvertently adding text. Here are some tips to ensure you're adding the block correctly:
1. Single Click to Add Blocks:
- Make sure you are not double-clicking on the canvas before typing. Double-clicking allows you to add annotations or text.
- Instead, single-click on the canvas and then start typing the name of the block you want to add, such as "Constant."
2. Use the Quick Insert Feature:
- After typing a few characters of the block's name, Simulink should show a suggestion list of blocks.
- Click on the suggested block from the list to add it to your model.
3. Using the Library Browser:
- If typing the block name doesn't work, you can use the Library Browser to add the block.
- Open the Library Browser, find the Constant block, and drag it into your model.
4. Copy-Paste Method:
- Once you've added a Constant block using any of the above methods, you can easily copy it using `Ctrl+C` and paste it using `Ctrl+V` to duplicate the block within your model.
By following these steps, you should be able to add the Constant block to your Simulink model without any issues. If you continue to experience problems, consider checking for any software updates or preferences that might affect block insertion.