Until you’re able to do that you won’t have any success trying things like octave.
Here’s a very quick example — I did this on OS X — you’ll have to make the appropriate substitutions for linux.
wenorum@205 283> makeBaseApp.pl -t example example
wenorum@205 284> makeBaseApp.pl -i -t example example
Using target architecture darwin-x86 (only one available)
The following applications are available:
What application should the IOC(s) boot?
The default uses the IOC's name, even if not listed above.
. . .
2 — Run the example application and get a list of record names:wenorum@205 286> cd iocBoot/iocexample
wenorum@205 287> ../../bin/darwin-x86/example st.cmd
#!../../bin/darwin-x86/example
## You may have to change example to something else
## everywhere it appears in this file
epicsEnvSet("ARCH","darwin-x86")
epicsEnvSet("IOC","iocexample")
epicsEnvSet("TOP","/Users/wenorum/tmp/e")
epicsEnvSet("EPICS_BASE","/usr/local/epics/R3.14.12/base")
cd "/Users/wenorum/tmp/e"
## Register all support components
dbLoadDatabase "dbd/example.dbd"
example_registerRecordDeviceDriver pdbbase
dbLoadTemplate "db/userHost.substitutions"
dbLoadRecords "db/dbSubExample.db", "user=wenorumHost"
## Set this to see messages from mySub
## Run this to trace the stages of iocInit
cd "/Users/wenorum/tmp/e/iocBoot/iocexample"
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Aug 19 2015
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=wenorumHost"
wenorumHost:compressExample
wenorum@205 211> camonitor wenorumHost:ai1
wenorumHost:ai1 2016-07-22 08:19:47.303034 4 LOW MINOR
wenorumHost:ai1 2016-07-22 08:19:48.302899 5
wenorumHost:ai1 2016-07-22 08:19:49.302652 6 HIGH MINOR
wenorumHost:ai1 2016-07-22 08:19:50.303030 7 HIGH MINOR
wenorumHost:ai1 2016-07-22 08:19:51.302994 8 HIHI MAJOR
wenorumHost:ai1 2016-07-22 08:19:52.303159 9 HIHI MAJOR
4 — Use octave to read a value from the example IOC:wenorum@205 212> octave --no-gui
GNU Octave, version 4.0.3
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-apple-darwin15.5.0".
Please contribute if you find this software useful.
For information about changes from previous versions, type 'news'.
>> pv=mcaopen('wenorumHost:ai1')