Created
October 21, 2015 02:11
-
-
Save summivox/5c13cab72e819d99ea94 to your computer and use it in GitHub Desktop.
Simulink Realtime tricks -- init script for setting up paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| currentFolder = fileparts(mfilename('fullpath')); | |
| cd(currentFolder); | |
| addpath(genpath([currentFolder '/src'])); | |
| addpath(genpath([currentFolder '/include'])); | |
| set_param(0, 'CacheFolder', [currentFolder '/build']); | |
| set_param(0, 'CodeGenFolder', [currentFolder '/build']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment