Copy Requirements Info

Copies all the requirements info from the source to destination.
783 Downloads
Updated 24 Oct 2005

View License

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
untitled/Airflow calculation
copy_reqinfo(sprintf('fuelsys_docreq/fuel rate\ncontroller/Airflow calculation'),...
'untitled/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.

Cite As

Richard Pfisterer (2024). Copy Requirements Info (https://www.mathworks.com/matlabcentral/fileexchange/8781-copy-requirements-info), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0