SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] About SCIRUN


Chronological Thread 
  • From: Jess <jess@sci.utah.edu>
  • To: Jaume Coll-Font <jcollfont@gmail.com>
  • Cc: scirun-users@sci.utah.edu, huseyin.yanikk4@gmail.com
  • Subject: Re: [SCIRUN-USERS] About SCIRUN
  • Date: Mon, 22 Jul 2019 10:32:03 -0600

Hi Hüseyin,

It looks like you are running windows.  Have you added the Matlab libs to your system path?  There is an FAQ that points to how you would do this on scirun.org.  If that doesn’t work, please some more details on your OS and matlab version, and send the error that you see when you run an empty InterfaceWithMatlab module.  

cheers,
Jess





On Jul 22, 2019, at 6:17 AM, Jaume Coll-Font <jcollfont@gmail.com> wrote:

Hi all,

Husseyin (cc'd here) is having some troubles using the MATLAB interface in SCIRUN 4. I tried helping, but seems that his problems are beyond my knowledge, hopefully someone in this list can help.

The problem seems to be with the matlab interface connecting to the matlab engine. The terminal response is "please wait while launching matlab ...."
My guess is that SCIRUN does not know where to look for the matlab executable. Does anyone know how to change it in Windows?

Thanks!

Best,
Jaume Coll-Font

Postdoctoral Fellow
Computational Radiology Laboratory,
Boston Children's Hospital, Boston (MA)


---------- Forwarded message ---------
From: Hüseyin Yanık <huseyin.yanikk4@gmail.com>
Date: Mon, Jul 22, 2019 at 5:18 AM
Subject: Re: About SCIRUN
To: Jaume Coll-Font <jcollfont@gmail.com>


Hi Jaume,

I tried it on another PC also and it's still struggling to connect to matlab. The same text which says "please wait while launching matlab ...." is still there. I am sending you my SCIRun Path pictures in attach to compare with yours.

I hope we can find the solution.

Best,

Jaume Coll-Font <jcollfont@gmail.com>, 17 Tem 2019 Çar, 00:59 tarihinde şunu yazdı:
Hi Husseyin,

Looks like SCIRUN is struggling to connect to matlab. 
I would first try clicking to the connect button in the matlab engine interface (appears in the picture you just sent).
If that does not work, I would make sure that you have the matlab binaries included in the data path.

Hopefully that'll solve your problem. Otherwise we'll have to ask someone at CIBC

best,
Jaume Coll-Font

Postdoctoral Fellow
Computational Radiology Laboratory,
Boston Children's Hospital, Boston (MA)


On Mon, Jul 15, 2019 at 10:28 AM Hüseyin Yanık <huseyin.yanikk4@gmail.com> wrote:
Hi Jaume,

Sorry for late response but i was in my hometown for 3 days because of my sister had birth. Thank you for your response. 

I worked on Matlab-Cage-Tank-Example.srn from MatlabInterface of Example Networks inside SCIRun folder. I sent you screenshots from the work. I can import files to SCIRun but when i tried to use Interface module, it gave error. Engine Output section is empty. Nothing inside it.

Best,

Hüseyin

Jaume Coll-Font <jcollfont@gmail.com>, 11 Tem 2019 Per, 15:49 tarihinde şunu yazdı:
Hi Husseyin,

Check that the matlab engine is running. For some reason it does not always start properly when you execute. Check it on the MATLAB ENGINE STATUS tab.

If that doesn't work, please, send me a screenshot of the error. It is really hard to debug the issues with so little description. There could also be useful information in the MATLAB ENGINE OUTPUT tab, which shows matlab's desktop

Best,
Jaume Coll-Font

Postdoctoral Fellow
Computational Radiology Laboratory,
Boston Children's Hospital, Boston (MA)


On Thu, Jul 11, 2019 at 4:13 AM Hüseyin Yanık <huseyin.yanikk4@gmail.com> wrote:
Hi agai Jaume,

Thank you for your fast response. I'm using SCIRUN 4.7.
In the InterfaceWithMatlab module, when i open it, there is a screen related to Matlab Engine and we have to Start Matlab. In the documentation, textbox of Start Matlab is filled with "matlab -nojvm -nodesktop". But when i tried to execute module with a simple matlab code inside it, red flag(error) occurs. I tried to use it with examples inside the SCIRUN also. But it also gave error. SCIRUN 4.7 is working fine except Matlab Interface.
I am working on an iterative study and need an exchange between Matlab and SCIRUN. So i have to use this module.

Kind regards,
Hüseyin

PhD Student
Mersin University
Biomedical Engineering



Jaume Coll-Font <jcollfont@gmail.com>, 10 Tem 2019 Çar, 21:19 tarihinde şunu yazdı:
Hi Husseyin,

Sure, I'll try to help. I'll need more information to understand what are you trying to do.
Which version of SCIRUN are you using? What code are you trying to execute?

The latest SCIRUN version (5) uses a python wrapper to call matlab. Maybe this is the issue? If that is the case, I can redirect you to people that have a better understanding of how to set it up.  
I can be more helpful with problems pertaining to the code itself.

Best,
Jaume Coll-Font

Postdoctoral Fellow
Computational Radiology Laboratory,
Boston Children's Hospital, Boston (MA)


On Wed, Jul 10, 2019 at 3:38 AM Hüseyin Yanık <huseyin.yanikk4@gmail.com> wrote:
Hi Mr. Jaume,

I am a new SCIRUN user and i had an issue which disrupt my studies. I want to use MatlabInterface module but it didn't work. I directly followed the instructions from Documentation pdf files. Could you please help me about this problem?

Best regards,

Hüseyin.




Archive powered by MHonArc 2.6.18.

Top of page