The Slice-to-MATLAB compiler, slice2matlab
, currently only supports offers the command-line options described below in addition to the standard options for Slice compilers:
--checksum FUNC
Generate checksums for Slice definitions into the functionFUNC
. The given function name may optionally contain a package specifier. The generated function contains checksums for all of the Slice files being translated by this invocation of the compiler. For example, the command below causesslice2matlab
to generate the fileChecksums.m
containing the checksums for the Slice definitions inFile1.ice
andFile2.ice
:Code Block slice2matlab --checksum Checksums File1.ice File2.ice
--meta META
Define the global metadata directiveMETA
. Using this option is equivalent to defining the global metadataMETA
in each named Slice file, as well as in any file included by a named Slice file. Global metadata specified with--meta
overrides any corresponding global metadata directive in the files being compiled.
--list-generated
Emit a list of generated files in XML format.