I Have two pretty beefy codes, one in Matlab that does some very specific Matlab stuff that outputs a csv file. I then also have a jsl script that takes that CSV file and does a bunch of analysis and compiles it all into a journal. What I used to take a week doing, these two codes run will be done in 2 minutes. Perhaps I am getting greedy.
But I would love to run JUST my JSL script, where the begining of the script, launches the matlab code, returns the csv file to the jsl script and then the script does its thing.
Ive been reading about integrating Matlab and have succesfully established a link and done some *simple* vector stuff to verifiy its working.
However, I am unsure as to how to reference my Matlab function.
I've named the function jmp.
And in JSL
mc = MATLAB Submit("jmp" );
which returns
Unrecognized function or variable 'jmp'.
I then added my jmp function path to the the matlab enviroment so that it could be referenced outside of the directory. but I get the same error.
I also tried copying the function code into the "", but this was tricky because my code has many " and '. So the syntax kept on unselecting and selecting the code.
Any input would be appreciated.
Any input on running beefy matlab code from jmp?