MATLAB: Where to save a downloaded block in R2007b

simulink

I have download an Real Time Block from the mathworks site for using in Simulink, I extracted the zip file an have several files with several extension. But I don't know in which directory I have to save them?

Best Answer

You can extract the zip file to any folder you like. The file extension is likely to be .mdl if it is for Simulink.
Then you can either,
1. After launching MATLAB, change your MATLAB current directory to that folder, then you can open that .mdl file
2. Add that folder to your MATLAB path. Click menu File->Set Path... Then you'll be able to run that .mdl file anywhere in MATLAB.