Matlab Bridge Module Creation

Hi all,

I am relatively new to 3D Slicer and Matlab Bridge.

I have been using Matlab Bridge to create a custom module to cut down on my segmentation times. Is there a way to call and execute a pre-existing 3D Slicer Module (e.g. Grow Segmentation from Segment Editor or Generate/Export 3D model from Segmentations) within my .m file?

Any help would be appreciated - thanks in advance!

I think the opposite approach would be easier and more appropriate. What I mean is writing a python script or module that drives the Segment Editor effects, and also calls your Matlab Bridge module to execute the algorithm. The intention with Matlab Bridge was to enable executing Matlab computations, and not to allow Matlab to drive a Slicer processing pipeline.


You can find here examples of how to run segment editor effects from Python as shown in the script repository.

1 Like

Thank you! I will do this instead.

1 Like

A post was split to a new topic: How to call Matlab module from Python scripted module