ccollab addsimulinkarchives

Applies to Collaborator 14.5, last modified on April 09, 2024

Description

The ccollab addsimulinkarchives command uploads Simulink model archive to a review on the Collaborator server. Models are uploaded without a "previous version" so the entire model will be shown without differences.

Command Line Syntax

ccollab [global-options] addsimulinkarchives <review> <file-path> [<file-path> ...]

Command Options

Option

Required?

Description

global-options

No

A number of global or SCM-specific global options. See Command-line Global Options Reference.

<review>

Yes

Identifier of the desired review (an integer number), or a new, ask, or last keyword. Where keywords define the following behaviour:

  • new - the command will create a new review,
  • ask - the command will pause execution and prompt for the identifier of the desired review,
  • last - the command will use the last review that was created on the current machine via Command-Line Client (that is, it does not know about reviews created elsewhere).

<file-path> [<file-path> ...]

Yes

Path to model archive files (.zip) to be uploaded to review. If file path contains space characters, enclose it in quotes.

Remarks

  • Models are uploaded without a "previous version" so the entire model will be shown without differences. If you upload the same model on more than one occasion, the server will start making diffs of each version against the previous.
  • If you specify a file path that does not exist, an error will occur.
  • If you specify a path to a folder, an error will occur.

Examples

To upload the foo.zip and c:\dev\bar.zip archives into a brand new review:

ccollab addsimulinkarchives new foo.zip c:\dev\bar.zip

To upload the c:\dev\bar.zip archives into review #62:

ccollab addsimulinkarchives 62 c:\dev\bar.zip

See Also

ccollab
ccollab addchanges
ccollab addchangelist
ccollab addversions
ccollab adddiffs
ccollab commit

Highlight search results