Opened 17 years ago

Last modified 14 years ago

#135 closed defect (fixed)

resultFile parameter in simulate(...) API method.

Reported by: donida Owned by: donida
Priority: critical Milestone:
Component: Simulation Code Generation Version: 1.4.3
Keywords: Cc: donida, Adrian Pop

Description

.

Change History (2)

comment:1 by donida, 17 years ago

What about adding a resultFile parameter in simulate(..) API method?

For example:

simulate(..., resultFile="/path/filename");

will save all the simulation-created files in the /path directory with the "filename" prefix for the name of each simulation-created file.

In this specific example, if the simulation will not fail, the result will be:

content of the /path directory:
--filename.cpp
--filename.exe
--filename.log
--filename.makefile
--filename_functions.cpp
--filename_init.txt
--filename_res.plt

comment:2 by Martin Sjölund, 14 years ago

We have the fileNamePrefix option to the simulate command that does roughly this

Note: See TracTickets for help on using tickets.