# I get an error when trying to open an L2B file from AEOLUS in matlab

**URL:** https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363
**Category:** CODA
**Tags:** aeolus, matlab
**Created:** [June 22, 2021, 4:39pm UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363 "2021-06-22T16:39:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![xxwillxxpel](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/x/a183cd/32.png) [@xxwillxxpel](https://forum.atmospherictoolbox.org/u/xxwillxxpel)
#### Post date: [June 22, 2021, 4:39pm UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363/1 "2021-06-22T16:39:22Z")

</div>

![CODA ERROR](https://forum.atmospherictoolbox.org/uploads/default/original/1X/697d6d8865f9b5f8d995381cac0e59f72ef9a620.png)

Can anyone tell what the problem might be?

I installed everything according to the tutorial provided in the documentation but the error still persists.

product = coda\_open(‘AE\_OPER\_ALD\_U\_N\_2B\_20201112T233159\_20201113T010259\_0001.DBL’);

show the error:

Unrecognized function or variable ‘coda\_matlab’.

Error in coda\_open (line 17)  
[varargout{1:max(1,nargout)}] = coda\_matlab(‘OPEN’,varargin{:});

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [June 22, 2021, 6:10pm UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363/2 "2021-06-22T18:10:18Z")

</div>

I don’t know what ‘tutorial’ you are referring to, but you have not installed MATLAB according to the installation instructions. You are trying to run the coda matlab interfaces from the source directory. This will not work.  
Please install the binary package from [Releases · stcorp/coda · GitHub](https://github.com/stcorp/coda/releases/) (coda-2.22.1-win64.msi)

---

<div class="post-metadata">

### Author: ![xxwillxxpel](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/x/a183cd/32.png) [@xxwillxxpel](https://forum.atmospherictoolbox.org/u/xxwillxxpel)
#### Post date: [June 22, 2021, 10:07pm UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363/3 "2021-06-22T22:07:54Z")

</div>

Hi svniemeijer

I did install the binary package from the link above and set the path in matlab, but i still get the same error.

Thanks for responding.

---

<div class="post-metadata">

### Author: ![xxwillxxpel](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/x/a183cd/32.png) [@xxwillxxpel](https://forum.atmospherictoolbox.org/u/xxwillxxpel)
#### Post date: [June 22, 2021, 10:33pm UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363/4 "2021-06-22T22:33:04Z")

</div>

Sorry, I was putting the wrong path for matlab to load the coda package.

Thanks!

---

<div class="post-metadata">

### Author: ![songshu7](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/songshu7/32/224_2.png) [@songshu7](https://forum.atmospherictoolbox.org/u/songshu7)
#### Post date: [April 8, 2022, 11:33am UTC](https://forum.atmospherictoolbox.org/t/i-get-an-error-when-trying-to-open-an-l2b-file-from-aeolus-in-matlab/363/5 "2022-04-08T11:33:02Z")

</div>

I have the same problem, how did you solve it?
