Hi,
In the past I did some MATLAB scripting to interface with FreeMASTER desktop app.
Now that my development environment shifted to Linux, my only option is to work with FreeMASTER Lite. Despite I see mentions of a possibility to do MATLAB scripting , I can't find any example. Is there something that I can have a look at?
Regards,
Luca
Solved! Go to Solution.
Hi @lucabarbiero,
MatLAB scripting support relies on ActiveX framework which is specific to Windows platform, and is supported only by the main FreeMASTER tool that registers the corresponding ActiveX object.
The way FreeMASTER Lite works - it exposes a JSON-RPC API that can be consumed by any 3rd party app. To use it with MatLAB you would need to implement your own JSON-RPC client. You can use the JavaScript/Python examples (/path_to_FreeMASTER_Lite/scripting examples) as reference.
Kind regards,
Iulian
It would be very much helpful to have also a minimal MATLAB client example in FreeMASTER Lite/scripting examples
Understood, so it does take more effort in this case to get that running, because I don't know JSON-RPC, nor I know much of JavaScript/Python..
So I should start from FreeMASTER Lite/scripting examples/Python/FML_Python.ipynb. This is not Python if I understand well, but there is this other Jupyter environment.
It's a lot of things to learn to get back to my beloved FreeMASTER functionalities in Linux. But I understand how powerful this is, once users have learnt how to interact with it.
Those examples make use of Jupyter. You can se it as an interactive web based IDE.
Feel free to post more questions in case you are facing any issues making it work or need assistance with JSON-RPC API.
Hi @lucabarbiero,
MatLAB scripting support relies on ActiveX framework which is specific to Windows platform, and is supported only by the main FreeMASTER tool that registers the corresponding ActiveX object.
The way FreeMASTER Lite works - it exposes a JSON-RPC API that can be consumed by any 3rd party app. To use it with MatLAB you would need to implement your own JSON-RPC client. You can use the JavaScript/Python examples (/path_to_FreeMASTER_Lite/scripting examples) as reference.
Kind regards,
Iulian