# How to call Matlab module from Python scripted module

**URL:** <https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362>\
**Category:** Development\
**Created:** [September 10, 2019, 12:58pm UTC](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362 "2019-09-10T12:58:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marlene](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/marlene/32/4566_2.png) [@marlene](https://discourse.slicer.org/u/marlene)\
**Post date:** [September 10, 2019, 12:58pm UTC](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362/1 "2019-09-10T12:58:25Z")

</div>

Hello everyone,

I have a similar question  
I have created one extension in Slicer and a second one using Matlab Bridge. How is the procedure to call the Matlab Bridge extension in my python code?

thanks a lot

Best

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 10, 2019, 1:11pm UTC](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362/2 "2019-09-10T13:11:19Z")

</div>

You can call Matlab modules the same way as any other CLI modules, as described [here](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#Running_a_CLI_from_Python).

---

<div class="post-metadata">

**Author:** ![marlene](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/marlene/32/4566_2.png) [@marlene](https://discourse.slicer.org/u/marlene)\
**Post date:** [September 12, 2019, 9:51am UTC](https://discourse.slicer.org/t/how-to-call-matlab-module-from-python-scripted-module/8362/3 "2019-09-12T09:51:52Z")

</div>

thank you very much Andras
