Is it possible to specify the destination directory for the mex.file generated from Stateflow when running my model in MATLAB 7.8 (R2009a)?

1 次查看(过去 30 天)
I am using Stateflow. The mex.file generated during the simulation of my model is placed inside my current working directory. Is it possible to redirect the output of the mex generation and build steps to be some other place than the current working directory?

采纳的回答

MathWorks Support Team
This enhancement has been incorporated in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
The ability to redirect the output of the mex generation and build steps to be some other place than the current working directory is not available in Stateflow 7.3 (R2009a).
To workaround this issue, you can temporarily change the current directory programmatically using 'cd' command, simulate the model, and change the current directory back to original directory.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品


版本

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by