title: How to send input when calling Matlab script from python?
body: <p>I have a python Tkinter code which is linked with Matlab. I am calling the Matlab script by importing matlab.engine . The python code when it runs uses the output of Matlab code. I want to decide which image to be read in Matlab from python. I want to give that image address as an input in python code so that when Matlab code runs, it takes that input and reads it through imread(). Can somebody please help me how can I do that?</p>
  
  <p>This is the part of the code which is used to call Matlab script
  I tried to send 'xys' as an input but it gives the error.</p>
  
  <pre><code>import matlab.engine
  eng = matlab.engine.start_matlab()
  xys="C:\\Users\\User\\Desktop\\tkinter_codes\\floorplans\\ROBIN\\Dataset_3roomsmall\\Cat1_1.jpg"
  eng.boundingbox_Aroundrooms(nargout=0)
  </code></pre>