Comments on: Build a product, build a service https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/?s_tid=feedtopost Developing, testing, and integrating production grade software using MATLAB. Sat, 07 Jul 2018 07:39:23 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Running MATLAB in the Cloud with Reference Architectures » Developer Zone - MATLAB & Simulink https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-39262 Sat, 07 Jul 2018 07:39:23 +0000 https://blogs.mathworks.com/developer/?p=475#comment-39262 […] the past I have blogged about examples of taking a MATLAB model quickly from prototype to production without costly inefficiencies. Many […]

]]>
By: Arvind Hosagrahara https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-15890 Tue, 20 Mar 2018 01:52:54 +0000 https://blogs.mathworks.com/developer/?p=475#comment-15890 I turned it back on. The demo should be functional at:
http://jsfiddle.net/hosagrahara/vrhyd4uc/show/

Clicking on the top-right corner of the jsfiddle allows deconstruction of the demo into its component pieces. The XHTML pane controls the textual content of the demo, the CSS controls the formatting / cosmetics and the JS code shows the actual call to the MATLAB analytic (in this case, the fibonacci calculator).

If this demo does not work for you, it is either because a proxy server is blocking the calls or your browser settings are preventing the execution of JS code.

]]>
By: mohammed belay https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-15814 Sun, 11 Mar 2018 15:47:11 +0000 https://blogs.mathworks.com/developer/?p=475#comment-15814 it is no longer working

]]>
By: Leveraging cloud capabilities from MATLAB » Developer Zone https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-15096 Mon, 15 Jan 2018 15:31:11 +0000 https://blogs.mathworks.com/developer/?p=475#comment-15096 […] have written about exposing MATLAB functionality as a service in the past but in this space, a demo is worth a thousand words, so to illustrate the point and […]

]]>
By: From the MATLAB Command Prompt to the Cloud » Developer Zone https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-11117 Fri, 21 Apr 2017 14:06:39 +0000 https://blogs.mathworks.com/developer/?p=475#comment-11117 […] have written about this in the past with a few interactive demos open to the internet and the readership of this […]

]]>
By: Operationalizing MATLAB » Developer Zone https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-8642 Mon, 05 Dec 2016 21:36:48 +0000 https://blogs.mathworks.com/developer/?p=475#comment-8642 […] To aid in these integrations, the MATLAB Production Server supplies lightweight client libraries for C/C++, .NET, Java and Python as well as simple clientless RESTful JSON-powered interfaces – providing a full product stack with capabilities for synchronous and asynchronous execution of MATLAB code like we discussed on this blog earlier. […]

]]>
By: Arvind Hosagrahara https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-6701 Mon, 18 Jul 2016 18:45:58 +0000 https://blogs.mathworks.com/developer/?p=475#comment-6701 In reply to Diogo Nascimento.

The demo code leverages the RESTful API that featured in R2016a and beyond. I suspect that if you try with the latest version of our product – it will just work. The service is still running on AWS so it should be possible for you to create copies of the HTML, CSS and JS locally and call the service that I have running on AWS. That way, you can eliminate all issues on the client side.

]]>
By: Diogo Nascimento https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-6699 Mon, 18 Jul 2016 16:45:56 +0000 https://blogs.mathworks.com/developer/?p=475#comment-6699 Hi Arvind, great post!

I was trying to replicate your example on my local machine (tutorial style):
– I compiled the Fibonacci function and started the test server
– Downloaded the html file from JSFiddle
– Changed the amazon link to my localhost and got an “unsupported method” error in the development server log.

Any pointers or tips? I’m using the 2015a version.

]]>
By: Arvind Hosagrahara https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-6616 Fri, 15 Jul 2016 06:20:42 +0000 https://blogs.mathworks.com/developer/?p=475#comment-6616 In reply to Julian.

Julian,

A good question and a requirement that we hear from many of our clients. To answer the question directly – yes, there are a few approaches to bring MATLAB powered graphics, both static and with interactivity but unfortunately, there is no “one-size-fits-all” answer as it will depend on a number of factors including the complexity of the visualization, desired scalability, type of computation, number of concurrent users, etc. The “publish” mechanism that you refer to, in your question, is one of these many approaches.

The approach that I picked out in this post uses a server-grade product – MATLAB Production Server to articulate the possibility of building services with MATLAB, enabling client-server architectures. This post attempts to focus on the back-end, i.e. the high-performance, low-latency execution of MATLAB based computation on stateless and scalable infrastructure, as a service, while using vanilla web technology for the view. I picked vanilla web technology merely to illustrate possibilities. The spectrum of available choices for visualization span from do-it-yourself approaches to enterprise-scale integrations.

If there is more interest in this topic, we may address this in a future post. Please do comment and let us know.

]]>
By: Julian https://blogs.mathworks.com/developer/2016/07/13/build-a-product-build-a-service/#comment-6598 Thu, 14 Jul 2016 14:35:56 +0000 https://blogs.mathworks.com/developer/?p=475#comment-6598 If you produce visualizations in MATLAB can you share MATLAB figures via the Production Server?

I mainly use “publish” to share work graphical output with colleagues (customers) who don’t know or have MATLAB, but they don’t get any nice interactivity that you get with a figure window (e.g. zoom, pan etc). I looked more than once for a demo on your web-site but haven’t found anything. Thanks for the interesting post, your blog entry is the first live demo I’ve seen.

]]>