From: anna Mereu on 1 Jun 2010 07:49 Hi, I have to develop a website that enables the execution of a matlab program. I would like to know whether or not the option I am trying to implement is feasible and/or if this depends on the type of license that I have. In particular, I would like to be able to lauch a script from php in this way: system('./script.sh') where the script contains the following lines: whoami matlab -nodisplay -nosplash -r "main;quit;" Since the installed type of license is "stand-alone named user installation", I can only run matlab from the enabled user. For thid reason, I have changed the apache user from the default www-data to the matlab user. The problem is that, if I go to the webpage of my application (the php file), I have the license manager error even if the user displayed by the "whoami" command is the correct one. Is the option I am trying to develop feasible? If this is feasible where is the problem? If not, is the cgi option (strictly depending on the presence of the Matlab Compiler product) the only one feasible to launch matlab applications from the web? Thank you very much anna
From: Walter Roberson on 1 Jun 2010 11:14 anna Mereu wrote: > I have to develop a website that enables the execution of a matlab > program. I would like to know whether or not the option I am trying to > implement is feasible and/or if this depends on the type of license that > I have. The license terms are that invoking Matlab from an http interface is okay with a named-user license only if access to the pages is restricted to your organization; if people outside your organization could get access, then the license terms require you to have a networked license. These are license conditions, not technological restrictions though. I have not attempted to try this myself, so I am not sure why you are getting that error. > matlab -nodisplay -nosplash -r "main;quit;" > > Since the installed type of license is "stand-alone named user > installation", I can only run matlab from the enabled user. For thid > reason, I have changed the apache user from the default www-data to the > matlab user. > > The problem is that, if I go to the webpage of my application (the php > file), I have the license manager error even if the user displayed by > the "whoami" command is the correct one.
|
Pages: 1 Prev: Data transfer between mxArray and mwArray Next: How do I align two time-stamped data streams? |