Thread Subject: Visual programming language and matlab

Subject: Visual programming language and matlab

From: Bryan Heit

Date: 9 Oct, 2008 12:34:15

Message: 1 of 2

A few weeks ago I posted a message asking about porting matlab
functions to open-source alternatives (to save money on matlab
licenses). After much study and deliberation (and the surprise
finding that I could install matlabs MATLAB Compiler Runtime free onto
all my computers) I've decided to go the route of compiling stand-
alone matlab functions, rather than switching to an open source
option.

The original post can be viewed here:
>http://groups.google.ca/group/comp.soft-sys.matlab/browse_frm/thread/370440967742844a/94edcd769066d98f?lnk=gst&q=heit#94edcd769066d98f

The question that came up repetitively was how to make this user
friendly. Most of our matlab routines are intended to be used as
"modules" under control of a mater script. Since all of our matlab
functions are controlled entirely from command-line options, we were
thinking that it may be ideal to use some sort of visual scripting/
programming language to control the functions. Aside from making
things more user friendly, custom routines could be easily created
simply by scripting existing functions together in new ways. This
sort of system would be hugely beneficial, as we are currently swamped
with hundreds of matlab "master scripts" where people have written
matlab functions to string together other previously written matlab
functions to do whatever analysis they are trying to do.

The biggest downside of this method would be the need to pass data
between functions in the form of temporary files, but then again, the
amounts of data we are currently processing already requires the use
of temp files so this wouldn't change things much.

Has anyone implemented this type of control over matlab functions?
Does anyone know of a good virtual scripting/programming language that
would be good for controlling such command-line functions? For that
matter is "visual scripting" the correct term for what I want to do?*

I know that simulink can do some of the things we want, but that comes
back the licensing enough copies for all our computers issue - and we
currently do not licence simulink.

*by visual scripting, I mean that each function is represented by an
icon. You drag the icons into order, connect outputs to inputs via
drawing lines. Often, info is entered into the icons to control
variables. LabVIEW kinda works in this fashion, I think olympus has
image acquisition software that also works in this manner.

Once again, money is a bit of an issue, so open source or inexpensive
packages would be preferred.

Thanx

Bryan

Subject: Visual programming language and matlab

From: Paul Mennen

Date: 10 Oct, 2008 06:00:21

Message: 2 of 2

Bryan Heit wrote
> *by visual scripting, I mean that each function is
> represented by an icon. You drag the icons into
> order, connect outputs to inputs via drawing lines.

I would think you might be able to find a commercial
or even possibly a freeware application to do something
like that. I did a quick google search and found:

Synopsis - Visual Programming Tool 1.0

(It's commercial, and costs $150) I didn't look into
it so I don't know if it really does the things you need,
but if such a casual search found this, there must be
other similar applications out there.

By the way, since cost is a big issue, I assume you
have looked at some of the Matlab clones (e.g. Scilab,
Octave, Rlab). Did you think it would be to much work to
get you scripts and functions to work under these systems?

~Paul

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com