forums.xandros.com Forum Index forums.xandros.com
Xandros User Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to call stand-alone fuzzy inference engine from tcl/tk?

 
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Linux Devel 101
View previous topic :: View next topic  
Author Message
intrepid
Xplorer


Joined: 18 Oct 2006
Posts: 12

PostPosted: Wed Sep 12, 2007 2:21 am    Post subject: How to call stand-alone fuzzy inference engine from tcl/tk? Reply with quote

Firstly I hope this is the correct forum index to post this question.

I have a problem to call a fuzzy inference engine from TCL/TK which is originally used in MATLAB. It works if try to call it from shell. The command is like this;

./fismain data_input fisfile.fis > fis.out

When i try to call it from TCL/TK, I write this script ;

button $w.analy -image iupdate -width 52 -height 50 -command {

./fismain data_input fisfile.fis > fis.out

}

after that, when i try to click the button, it produce this error message;

invalid command name "./fismain"
invalid command name "./fismain"
while executing
"./fismain data_input fisfile.fis > fis.out"

What should I do? Is there any other correct script I should write?
Back to top
View user's profile Send private message
intrepid
Xplorer


Joined: 18 Oct 2006
Posts: 12

PostPosted: Fri Sep 14, 2007 6:50 am    Post subject: Reply with quote

got the solution...

just add exec before ./fismain
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.xandros.com Forum Index -> Linux Devel 101 All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group