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
2011-6-20
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!