EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to configurate MCA for Octave
From: Eric Norum <[email protected]>
To: Hulusi Öz <[email protected]>
Cc: [email protected]
Date: Fri, 22 Jul 2016 17:14:49 -0700
BuildForOctave.sh is all you need to do.   When it finishes you are ready to use MCA in octave.  
-- 

On Jul 22, 2016, at 4:43 PM, Hulusi Öz <[email protected]> wrote:

Thanks for your recommendation. I made that. I'm new at either linux or EPICS platform. I'm still learning too much new things.

2016-07-23 2:39 GMT+03:00 Hulusi Öz <[email protected]>:
I just figured it out by adding "savepath" command after each of path command at the previous command. 

But still I'm getting error about mca.mex. I guess ,again, I couldn't build MCA extension in terms of mex file. I run the script (buildForOctave.sh) and after that, I run make. I've got this error :

%-----------%
mex -v -I/opt/epics/base/include -I/opt/epics/base/include/os/Linux -DEPICS_DLL_NO -L/opt/epics/base/lib/linux-x86_64 -ldbStaticHost -lCom -lca mca.cpp MCAError.cpp Channel.cpp -o O.linux-x86_64/mca.mexglx
make: mex: Command not found
Makefile:66: recipe for target 'O.linux-x86_64/mca.mexglx' failed
make: *** [O.linux-x86_64/mca.mexglx] Error 127
%-----------%

Thanks in advance..Best Regards..

2016-07-23 1:29 GMT+03:00 Hulusi Öz <[email protected]>:
Thank you so much sir.. It works fine.
The things that I've done so far since yesterday are :

1) I managed to build MCA extension for Octave properly.
2) Now,I can run the examples.
3) But, I think ,I miss something about editing path for octave for mcaget,mcaput.. commands,because Octave doesn't see those commands. But I had done it by doing that in Octave : 

path(path(), [getenv("opt") "/opt/epics/extensions/lib/" getenv("linux-x86_64")]); path(path(), [getenv("opt") "/opt/extensions/src/mca/matlab"]);



2016-07-23 1:06 GMT+03:00 Eric Norum <[email protected]>:
Once you have your PATH set properly you should need to type only
makeBaseApp.pl …….
since that script is in the EPICS base bin.

On Jul 22, 2016, at 3:01 PM, Hulusi Öz <[email protected]> wrote:


1) I make an IOC example with 
                 "../../../makeBaseApp -t example example"
                 "../../../makeBaseApp -i -t example example"
I've got the same result as the same with Eric Norum's.

-- 
Eric Norum
[email protected]








Replies:
Re: How to configurate MCA for Octave Hulusi Öz
References:
How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
RE: How to configurate MCA for Octave Mark Rivers
Re: How to configurate MCA for Octave Hulusi Öz
RE: How to configurate MCA for Octave Mark Rivers
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Eric Norum
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz
Re: How to configurate MCA for Octave Hulusi Öz

Navigate by Date:
Prev: Re: How to configurate MCA for Octave Hulusi Öz
Next: Re: How to configurate MCA for Octave Hulusi Öz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to configurate MCA for Octave Hulusi Öz
Next: Re: How to configurate MCA for Octave Hulusi Öz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 23 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·