save source files - MapleSim Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim Toolboxes : MapleSim Connector for dSPACE Software : dSPACEConnector Package : dSPACEConnector/SaveCode

dSPACEConnector[SaveCode] - save source files

Calling Sequence

SaveCode(filename, source_code, param_opts)




string ; The name of file the source code will be saved to.



string; The source code you want to save.



(optional) equation(s) of the form option = value; specify options for SaveCode






The SaveCode command saves the source code that you generated to a specific file.

The opts arguments are optional arguments of the form option = value, where option is one of the names listed below. These arguments correspond to keyword parameters; the left side of an equation is the keyword, the right side is the value. Each keyword parameter has a default value that is assigned if the parameter is not passed.

The following paragraphs describe each of the keyword parameters. The first line of each paragraph specifies the format of the argument: the left side is the keyword and the right side specifies the type of the value. If the type is truefalse, then passing just the keyword is equivalent to passing keyword = true.


path = truefalse


Specifies the path and name of the file to which to save the source code.


extension = string


Specifies the extension of the file.


interactive = truefalse


Opens a dialog box that allows you to save the source code. Use this command as an alternative to using the path and extension commands.

See Also

dSPACEConnector, MapleSim

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam