473,404 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

call MATLab program from Perl

Sir,
I'm a M. E (comuter Science and Engineering) Student and now i'm doing my project in Bioinformatics. I'm new to perl & MATLab. I've written the code for neural network simulation in MATLab. Now I have to read a list of files from a directory and the every files should be passed to the neural network for recognition and reading form the directory is written in Perl. Now can i give the files read using perl as input to the created nerual network written in MATLab. Please help me... If so give me the guide lines.
Mar 21 '08 #1
1 2707
numberwhun
3,509 Expert Mod 2GB
Sir,
I'm a M. E (comuter Science and Engineering) Student and now i'm doing my project in Bioinformatics. I'm new to perl & MATLab. I've written the code for neural network simulation in MATLab. Now I have to read a list of files from a directory and the every files should be passed to the neural network for recognition and reading form the directory is written in Perl. Now can i give the files read using perl as input to the created nerual network written in MATLab. Please help me... If so give me the guide lines.
Well, that depends. I unfortunately do not know anything about MATLab, so I cannot relate to it, but if it is something that you would run from the command line, then you could certainly write a Perl script that would call that command and then pass an argument to it (the argument being the file name.

If that is the case, then you would need to obtain a list of the files to be fed to the command, then start a loop that would cycle through that list, feeding one file at a time to the command.

Also, if you wanted to check, there seem to be a number of MATLab CPAN modules out there. Didn't know if any of them would do what you want.

Regards,

Jeff
Mar 21 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: sdhyok | last post by:
PyMat enables to call matlab functions from python. But, what I want is to call python functions from matlab. Is there any library for it? Thanks. Daehyok Shin
2
by: lmo863 | last post by:
Hi, I was wondering if any of you know what an easier way to turn matlab code into c++. I have had a look on the internet and Mathtools.com used to do a program called matcom, but it no longer...
2
by: wenshere | last post by:
I wrote such code: Assembly asm = Assembly.LoadFrom(@"Tools.dll"); The Tools.dll is made by matlab, which contain some fuctions wrote in matlab. But it throws a System.BadImageFormatException! ...
6
by: Lars Christiansen | last post by:
Hi! I am a master student in (geo)physics at the University of Copenhagen and part of a study group on C++ as a scientific programming language. I, and the other students in the group, have...
8
by: Allen | last post by:
Does anyone agree with me? If you have used Matlab, welcome to discuss it.
1
by: santus | last post by:
Hello, I've just join this forum and i need help about using matlab function from .net. I need to make a program to plot data into 2D graphics and the program use use mathematics functions. ...
2
by: Jay12345 | last post by:
Hello friends, I am new to both VB6.0 and MatLab. Can anyone guide me on how to call a MatLab executable from VB6.0? i.e. I want to call a program written in MatLab(executable) from a VB6.0...
2
by: obladi | last post by:
I have run MATLAB at Windows XP SP2. After several weeks of not using MATLAB, I found my MATLAB does not start up any more. When I double-click MATLAB icon, the error message says: Microsoft...
14
by: Luna Moon | last post by:
Dear all, Can C++/STL/Boost do the vectorized calculation as those in Matlab? For example, in the following code, what I really want to do is to send in a vector of u's. All other...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.