FreeMASTER Lite - MATLAB API examples

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeMASTER Lite - MATLAB API examples

跳至解决方案
2,931 次查看
lucabarbiero
Contributor IV

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

0 项奖励
回复
1 解答
2,923 次查看
iulian_stan
NXP Employee
NXP Employee

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,903 次查看
lucabarbiero
Contributor IV

It would be very much helpful to have also a minimal MATLAB client example in FreeMASTER Lite/scripting examples

2,912 次查看
lucabarbiero
Contributor IV

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.

0 项奖励
回复
2,898 次查看
iulian_stan
NXP Employee
NXP Employee

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.

0 项奖励
回复
2,924 次查看
iulian_stan
NXP Employee
NXP Employee

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

0 项奖励
回复