10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I have exactly same issue @vikas_trl had in following link:
https://www.unix.com/shell-programming-and-scripting/259854-control-not-returning-sqlplus-calling-unix-shell-script.html
I wonder if he or somebody else could find the issue's cause or the solution.
Any help would... (4 Replies)
Discussion started by: RicardoQ
4 Replies
2. Shell Programming and Scripting
Hello All,
I have a UNIX script which will prepare anonymous oracle pl/sql block in a temporary file in run time and passes this file to sqlplus as given below.
cat > $v_Input_File 2>>$v_Log << EOF
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL DML PARALLEL 16';
EXECUTE... (1 Reply)
Discussion started by: vikas_trl
1 Replies
3. UNIX and Linux Applications
hello,
debashish here.
i am working with 6 bit flash ADC design. So for calculation of INL and DNL ,i have to import data from cadence to MATLAB .
Can anybody help me out:confused: (1 Reply)
Discussion started by: DEBASHISH DASH
1 Replies
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I want to read in a file, and plot the data in matlab. However, I do not like hardwiring filenames into my codes, so I always give the user the option to specify what the filename is. I am pretty inexperienced with matlab, so I have no... (0 Replies)
Discussion started by: ds7202
0 Replies
5. UNIX for Advanced & Expert Users
Hello everyone!. I am wondering if it is possible to take control of a tty session???!!!.
For example: imagine you are running a command in a unix server that will take 12 hours to compleate... now, imagine you are at your home and you want to check how the command is performing or if errors... (2 Replies)
Discussion started by: dragonov7
2 Replies
6. UNIX for Dummies Questions & Answers
I need to weight the regression I am performing on a data file. I am not using all the numbers in the file. Here are my variables:
Y = data(,1)
X has the same bracketed first term, and the second term is
I have eight different weights I want to give, one weight corresponding to two different... (0 Replies)
Discussion started by: kssteig
0 Replies
7. Programming
Hello everyone,
i need help with this , i need the equivalent matlab funtion tf(x,y) in scilab
and what do u recommend best from those three for a linux user (i need it for Control theory):
1-matlab
2-Scilab
3-Octave
thank you for your time (0 Replies)
Discussion started by: abu_malek
0 Replies
8. UNIX for Advanced & Expert Users
Hi,
I mean Unix Linux general solution, so please don't move my question, as it's Unix specific.
I would like to remotely control my "full" Linux router.
Already succeeded to compile Linux Unix dialog, running some tests.
The issue is dialog comes with a limited number of widget boxes for... (4 Replies)
Discussion started by: jack2
4 Replies
9. UNIX for Dummies Questions & Answers
I am trying to run a Matlab function, file.m, with qsub. Here is a portion of my .sge file:
echo Starting to run Matlab
matlab -nojvm -nodesktop -r "file('${inputfile}');exit;"
echo finished running Matlab
The last two lines of the Matlab function are:
disp('finished');
exit
So my... (1 Reply)
Discussion started by: laether
1 Replies
10. Ubuntu
Hi, Is there any free software version availabe for download for Fedora or Ubuntu or other Linux Flavors which is very close to MatLab in Windows? Thanks. (1 Reply)
Discussion started by: MULTIVERSE
1 Replies
DEBIAN-MATLAB-MEXHELPER(1) User Commands DEBIAN-MATLAB-MEXHELPER(1)
NAME
debian-matlab-mexhelper - helper to build Matlab extensions on Debian
SYNOPSIS
debian-matlab-mexhelper [OPTIONS] <package name> <mode>
DESCRIPTION
The is a small helper that eases building and installing MEX extensions for Matlab toolbox packages in Debian binary packages. Because
these packages cannot build-depend on Matlab (for obvious reasons) they need to compile their extensions at installation time using a local
Matlab installation. The helper is somewhat flexible by supporting custom build, install and clean commands, as well as source and destina-
tion directories. It also deals with moving extensions into library directories and automatically symlinks them into the toolbox direc-
tory.
There are two major modes: 'install' to build, install and symlink extensions (useful in postinst) and 'clean' to remove installed exten-
sions and symlinks (useful in prerm).
The command to build the extensions is invoked in the source directory. By default, this is /usr/src/matlab/<package name>, but can be
overridden with the --src-dir option. Any optional 'install' (--install-cmd) and 'clean' (--clean-cmd) are invoked in the source directory
too.
Moreover, this helper will also take any installed extensions from a default installation path /usr/share/matlab/site/m/<package name>,
move them into /usr/lib/matlab/site/<package name> and symlink back to the original location. These locations can be configured with the
--m-dir and --mex-dir options respectively. Again, this step is optional and is only performed if a package actually installs extensions
inot this location.
OPTIONS
-h
Print usage summary and option list.
--help
Print full help.
--version
Print version information and exit.
--build-cmd
Command to build the extensions in the source directory
--install-cmd
Command to install the extensions after building
--clean-cmd
Command to clean the source tree after installation. This is not the command that is executed in 'clean' mode.
--src-dir
Directory with the extension sources. This is also the directory in which build, install and clean commands get invoked.
--mex-dir
Target directory into which binary extensions get moved.
--m-dir
Target directory in which symlinks to binary extensions get created.
--make
Set default commands for 'build-cmd' (make), 'install-cmd' (make install DESTDIR=$m_dir) and 'clean-cmd' (make distclean) if no spe-
cific command has been provided via the respective options.
EXAMPLES
The following call can be used in a package's postinst script if it comes with a Matlab script 'build_matlab.m' that builds and installs
its extension into the desired locations. The --src-dir option is used to point to a non-standard location of the extension sources.
debian-matlab-mexhelper somepackagename install
--src-dir /usr/src/dynare-matlab/mex/sources --build-cmd 'matlab -nodesktop -nodisplay -nojvm -r build_matlab'
If a package installs extension sources into the standard location and builds its extensions using a Makefile that support the DESTDIR for
installing the built extensions and a 'distclean' target it is sufficient to run the following.
debian-matlab-mexhelper somepackagename install --make
Otherwise it is also possible to fully customize all commands.
debian-matlab-mexhelper difficultpackage install
--build-cmd 'make -C src all toolbox MEXBIN="matlab-mex"' --install-cmd 'make -C src install && find . ! -wholename "./src"
-name "*.mex?*" -print0 | xargs -0 -I {} cp -v --parent {} /usr/share/difficultpackage' --clean-cmd 'make -C src distclean tool-
box-distclean && find . -name "*.mex?*" -delete'
If a package uses debian-matlab-mexhelper to install extensions into the standard location it can also be used to remove all MEX extensions
and created symlinks when a package is removed from a system. To achieve this simply put the following call into a package's prerm script.
debian-matlab-mexhelper packagename clean
AUTHOR
Written by Michael Hanke.
COPYRIGHT
Copyright (C) 2010-2011 Michael Hanke <michael.hanke@gmail.com>
Licensed under GNU Public License version 3 or later.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
debian-matlab-mexhelper 0.0.18 March 2012 DEBIAN-MATLAB-MEXHELPER(1)