COPY_REQINFO copies all the requirements info from the source to destination
COPY_REQINFO(source,destination) copies all the req info from the source to destination. This is to be used when copying subsystems from one model to another.
For example to copy only the "Airflow calculation" subsystem in
fuelsys_docreq/fuel rate controller/Airflow calculation to
copy_reqinfo(sprintf('fuelsys_docreq/fuel rate\ncontroller/Airflow calculation'),...
The code is intended to be robust in that it should handle partially copied subsystems too. For example if the Integrator block is removed from the destination, all the other requirements should still be copied.
Note: The destination block has to be copied separately.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.