Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYou're probably best off looking at the matlab documentation for how to load java objects into matlab. I'm not an expert, but I think there may be some tinkering with class-paths required to get the jars to load. If the matlab JVM uses the manifest files in the jars (open them with zip to take a look) then just loading matlabapi should get things working.
Once you have it loading you'll need to use the appropriate matlab APIs to create a matlab wrapper around a com.altera.systemconsole.matlabapi.SystemConsoleLink object. I'm not a matlab expert so I can't tell you exactly what the commands are to do that, but I have seen it done. There are JAVA tools which display all the public APIs available on that object, and my posts above describe the interesting ones. I suggest you start with executeTcl which takes a string and returns a string.