Generate Matlab Plot to Jupyter Notebook

130 Views Asked by At
  • When i run this code to python notebook, generates a plot in MATLAB correctly based on the condition i have assign.

  • I will like to display it to the python notebook and not in the matlab.

     import matlab.engine
     m = matlab.engine.start_matlab()
     m.addpath(r'C:\Users\AN\Desktop\MATLAB',nargout=0)
     m.function(100)
    
1

There are 1 best solutions below

1
AngelGK On

Solved by saving the figure to image and upload it to the directory of jypiter where is called using from IPython import display library