Product: TIBCO Spotfire®
Can we use Matlab code in Spotfire?
(1) Can we use Matlab code in Spotfire?
(2) Is there a way to use a Matlab engine directly from Spotfire, without purchasing and installing TIBCO Spotfire Statistics Services (TSSS)?
(3) Can the TERR Service (TERRSRV) node in a Spotfire Server environment be configured to use Matlab instead of TERR (TIBCO Enterprise Runtime for R)?
(Q1) Can we use Matlab code in Spotfire?
(A1) Yes, if you have purchased and installed TIBCO Spotfire Statistics Services (TSSS).
Spotfire data functions can use a URL connection to send Matlab scripts to a TIBCO Spotfire Statistics Services (TSSS) instance that has been configured to use Matlab as its statistical engine. TSSS is a separate product, distinct from Spotfire itself. (It is not part of Spotfire Server.) You purchase, download, install and configure TSSS independent of any Spotfire purchases or installations you may already have.
Each TSSS instance runs exactly one type of statistical engine (such as TERR, open-source R, Matlab or SAS). You can install and run more than one standalone TSSS instance on the same server as long as each instance listens on its own pair of ports and uses its own path for writing temporary files. TSSS listens on two ports.
The Preferences page in Spotfire provides separate fields for specifying the necessary TSSS URLs: one for each supported engine type. Data transfer between Spotfire and Matlab via TSSS is known to be slower than data transfer between Spotfire and TIBCO Enterprise Runtime for R (TERR) via TSSS. This is mostly due to an extra data-format conversion step (in each direction) that is needed when Matlab is the statistical engine.
The TSSS installation and administration manual provides instructions for configuring a TSSS instance to use Matlab as its statistical engine. The Matlab engine must be installed on the same server as the TSSS instance is installed on. We do not provide Matlab engines; you must purchase Matlab from Mathworks (www.mathworks.com).
NOTE: MATLAB is available under separate software license terms and is not part of the TIBCO Spotfire product line. As such, MATLAB is not within the scope of your license for any TIBCO Spotfire product. MATLAB is not supported, maintained or warranted in any way by TIBCO Software Inc. Download and use of MATLAB is solely at your own discretion and subject to the license terms applicable to MATLAB.
(Q2) Is there a way to use a Matlab engine directly from Spotfire, without purchasing and installing TIBCO Spotfire Statistics Services (TSSS)?
(A2) The most common way to use a Matlab engine with Spotfire is a URL connection to a TSSS instance that has been configured to use Matlab as its statistical engine, but a Spotfire connection for MATLAB Production Server (MPS) could be used, if an MPS environment is available.
(Q3) Can the TERR Service (TERRSRV) node in a Spotfire Server environment be configured to use Matlab instead of TERR (TIBCO Enterprise Runtime for R)?
(A3) No. By design, the TERR Service node (TERRSRV) always uses TIBCO Enterprise Runtime for R (TERR) as its statistical engine. It cannot be configured to use any other statistical engine.
https://community.tibco.com/wiki/running-matlab-under-tibco-spotfire
Comments
0 comments
Article is closed for comments.