# CATT2Matlab
Application to handle the information generated by CATT-Acoustic 8


#### I'm developing the information, sorry, soon it will be more complete.

#### If you receive any errors, please tell me including which version of Matlab and operating system you use. And if you can, also send me the files you were handling when the error appeared.

## Compatibility
 - Windows and OSX (macOS).
 - Matlab 2014b and later (full functionality in Matlab 2016b).
 
## Multilingual
At the moment, English and Spanish, but in the `language.m` file you can easily add any language.
 
## Use
1. Execute `Init.m`
2. Clic on the `File` menu.
3. Clic on the `Import From...>CATT-Acoustic`, and select the folder with data (you can use the example folder).
4. Play with buttons.

**Important**: I recommend activate the hidden function to get text files with ISM (image source model) for get all functions of this app.

**How to activate the hidden option?**

1. Find the file hiddenoptions.txt, it is in the folder of installation of CATT-Acoustic, usually in: `C:\Program Files\CATT\`
2. Edit the `hiddenoptions.txt` file (if it is called hiddenoptions_removethis.txt, delete '_removethis'). You have to remove the comment `;` from the line where the activation code for ISM is.

## Export functions
You can export the data to Excel, and also export figure in multiple image formats.

### Animations (Exported with CATT2Matlab app)
<img src="http://jmrplens.com/GitHub_CATT2Matlab/VideoSPLDIST2.gif" width="50%"></img><img src="http://jmrplens.com/GitHub_CATT2Matlab/VideoMAPSPL.gif" width="50%"></img>

### Screenshots
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview1.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview2.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview3.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview4.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview5.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview6.png" width="60%"></img>
<img src="http://jmrplens.com/GitHub_CATT2Matlab/Preview7.png" width="60%"></img>


## Other codes used
For the progress bar: <a href="https://es.mathworks.com/matlabcentral/fileexchange/26589-multiwaitbar--label--varargin--">multiWaitbar</a> by <a href="https://es.mathworks.com/matlabcentral/profile/authors/1297191-ben-tordoff">Ben Tordoff</a>
