So, how do you use this thing? First, you need Matlab and Simulink installed. I develop on the Linux version of Matlab, so I know that works; Windows Matlab also seems to work. I haven't tried it on Solaris or MacOS but those should work as well. The version I develop with is R2006a (pretty new and uncommon at URI as of this writing - 04/22/06); R14 should also work.
You need to download the library as a zip file. Save the file somewhere you can get to it. Then click one of these links to jump to the appropriate installation section for your OS: Linux, Windows, Other. After you've done that, head on over to the combinational logic tutorial to start simulating stuff.
KDE: |
GNOME: |
Use 'unzip' in the terminal window you just opened to extract the zip file. If you didn't specify otherwise, the zip file is probably in your ~/Desktop directory. Example screenshot after doing this, showing the command you need to use (the window may look a bit different from this one but you get the idea):
Now you need to start up Matlab; in the terminal window type 'matlab'. To complete the installation, the library directories need to be added to the Matlab path so that links work correctly. In the Matlab window, go to 'File' -> 'Set Path...'; in the window that appears click 'Add with Subfolders...', select the 'simulink_202' directory, and click 'OK'. After doing this the 'Set Path' dialog should look something like this (the top three lines in the path are what matter for our purposes; the others are specific to the ELE Matlab installation):
When you've got it right, click 'Save' to complete the installation. If you get an error that looks like the following:
... then you can safely click 'Yes' to continue and click 'Save' on the next dialog.
You should now be able to use the library. The next thing to do is follow the combinational logic tutorial to create your first logic simulation.
Extract the zip file somewhere (with a utility such as WinZip) and add it to the Matlab path; see the Matlab screenshots above in the Linux section.
Installation on Solaris should be almost identical to the Linux install except for GUI differences when opening the terminal initially. I'm not sure about MacOS X as I have no test machine, but I imagine that performing the same operation of extracting the zip file and adding it to the Matlab path would work there as well.