viatra / massif

Massif is a Matlab Simulink Integration Framework for Eclipse
https://viatra.github.io/massif/
Eclipse Public License 1.0
20 stars 14 forks source link

Automatically load massif_functions.m #156

Open reischlb opened 5 years ago

reischlb commented 5 years ago

Add automatically the location of massif_functions.m to the MATLAB path when starting communication between Massif and MATLAB.

ujhelyiz commented 5 years ago

@abelhegedus Question: does the massif_functions.m be included from a remote location? Or would it be enough make it sure it is in the workspace?

More specifically, could we bundle this file with the scripts we are already starting inside matlab, like in the CLI example or the server component? For these cases it would be a much better solution than simply documenting the installation step, as it would provide a reusable installation procedure.

abelhegedus commented 5 years ago

For the command server, this is already done: https://github.com/viatra/massif/blob/master/releng/massif.commandevaluation.server-package/prepareMatlabServerPackage.sh

ujhelyiz commented 5 years ago

Ok, then we should do the same for the CLI example - as far as I am aware, that is also used as kind-of a template, so updating that would help in this regard as well.