In order to remove one or more requirement links from an object, you will need to copy the current requirement links, remove those that are no longer needed, then assign the edited set of requirements links to the object.
Please refer to the following simplified example where we want to delete the 4th requirement link from a block in the top level of a model, such that the path of the block is 'model/block'.
1. If you do not already have it, get the path to the object you want to remove links from
2. Get the current links for that object using the following command:
>> reqLinks = rmi('get','model/block')
3. The output of this command will be a structure containing all of the current links. The contents of the structure are described in the following documentation:
4. Remove the rows of the structure corresponding to the links you wish to remove. for example, removing the 4th link:
5. Now pass the new requirements link into the rmi function
>> rmi('set','model/block',reqLinks)
6. The block will now have the requirement link removed. You can confirm this by calling the 'get' command from step 2 again.
Best Answer