HI,
I am developing an application which requires me to access matlab processes(stored in .m files) from my cgi script written in perl. I have already tried some different ways..I have embedded my matlab script in my perl code and I have also tried to access the matlab code from my perl script. I ahve run into difficulties on both occasions however. Following is my code which I have written with the embedded matlab code also. The result from the matlab code will need to be outputted to the perl file in order to call another matlab function on it.
If you have any other ideas of how this could be done in a better way, I would greatly appreciate it!!
Thank you!!
###attached is matlab code embedded in perl script####
## Deliverables
1) working code passing data from perl to matlab and calling a matlab function on this data and passing the result back to the perl script.
OR
2) working code embedding matlab code into perl script.
## Platform
Windows 2000, ActivPerl 5.8.7 and Matlab 7.0.4