saveas_commblks

Save Communications Blockset™ model using blocks of earlier version

Syntax

flag = saveas_commblks(sys,new_sys,version)

Description

saveas_commblks is designed to replace Communications Blockset R14SP2 (version 3.1) blocks with R14 (version 3.0) or R14SP1 (version 3.0.1) blocks.

flag = saveas_commblks(sys,new_sys,version) saves the model sys to a previous version specified by version, with the name new_sys. version must be either R14 or R14SP1. flag is true if the operation is successful, else it is false. It displays the list of blocks that are updated in the command window.

saveas_commblks updates the following blocks in the model:

Example

success = saveas_commblks('myCommsSystem','myCommsSystemR14sp1','R14SP1') saves the system myCommsSystem to one using the blocks in the R14SP1 version of Communications Blockset, and returns true on successful operation.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS