# Error after using the Matlab compiler

**URL:** <https://psychtoolbox.discourse.group/t/error-after-using-the-matlab-compiler/3902>\
**Category:** Programming Help\
**Created:** [June 21, 2021, 11:05am UTC](https://psychtoolbox.discourse.group/t/error-after-using-the-matlab-compiler/3902 "2021-06-21T11:05:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christophe](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Christophe](https://psychtoolbox.discourse.group/u/Christophe)\
**Post date:** [June 21, 2021, 11:05am UTC](https://psychtoolbox.discourse.group/t/error-after-using-the-matlab-compiler/3902/1 "2021-06-21T11:05:20Z")

</div>

Hi,

I made a nice application using the Psychtoolbox in Matlab. The application runs correctly in Matlab. However, after I compile the script into a standalone application, it crashes with the following error:

 ![help](https://global.discourse-cdn.com/free1/uploads/psychtoolbox/original/1X/d416ec5262e8f251b0786e5cf2b913561c95c1e8.png)

I have tried playing around with the settings of the app compiler, and so far nothing works. Could anyone help me out?

Kind regards,

Christophe

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [June 21, 2021, 12:41pm UTC](https://psychtoolbox.discourse.group/t/error-after-using-the-matlab-compiler/3902/2 "2021-06-21T12:41:01Z")

</div>

have you searched old forum posts? I recall something about manually needing to make sure the right psychtoolbox files are included in your standalone app
