Sharing MATLAB Apps And Simulink Simulations As Interactive Web Apps

Transcription

Share MATLAB apps and Simulink Simulations asinteractive web appsSuresh BalakrishnamaWill Wilson0

Have you experienced difficulty when sharing apps or tools?John, I heard aboutthis app, I have amac, how do I runit?I received this coolapp from Sarah,don’t know what todo, let me call Johnin ITWhere do Iget MATLAB?I developed thiscool app, Jim willbenefit from thisapp, let me shareI wish there is anSaraheasy way todistribute theseapps to others!BethJimWhat is theeasiest way toget this workingfor Jim?Sarah, pleaseexplain thisapplicationCan I just get alink to run theseapps?John, ITWill.now, I need tofigure out how toget this runningfor Beth?What licenses doI need to get?1

Building and Sharing Tools is a powerful way to share your workDistribute MATLAB appsand Simulink simulationsSave time and increaseproductivityIncrease workflowefficiency by sharing toolsRoyalty-free distribution2

Icons made by Freepik from www.flaticon.com3

Common challengesCustomers recognize these items as barriers to enabling efficient sharing workflowsSimple, easy to use centralized distribution solutionMechanism to secure and control access to applicationsManage and provide access to Runtime librariesSimple process to deploy new application features4

MathWorks offers solutions to help you share your workFind out more about our portfolio of application deployment productsEnd User5

MATLAB Web App ServerNew product, introduced in What is it?– MATLAB Web App Server is a serversoftware that enables you to hostand share your custom MATLABapps and Simulink simulations asbrowser-based web apps. Who does it help?– MATLAB and Simulink users– IT Administrator– End user needing access to MATLABbased apps6

WaterlabsDeveloped MATLAB Web Apps to monitor and measure water level and quality in reservoirsIgor MendizabalCEO7

Caltech NeuroscienceLeveraged MATLAB Web Apps as a browser-based interactive tool to run simulationsUse Case: Generate simulations for neuroscientists to examine therelationship of acute, repeated and chronic exposure to NicotineDr HenryLesterStandaloneapplicationMATLAB WebAppsMATLAB WebAppsMATLAB Web AppServerCloud: MATLABWeb App AlexWang.exeMATLAB CompilerNeuroscientistNeuroscientistNeuroscientist Vape Users8

Recall our common challengesHow does MATLAB WebApp Server address these challenges?Simple, easy to use centralized distribution solutionMechanism to secure and control access to applicationsManage and provide access to Runtime librariesSimple process to deploy new application features9

Icons made by Freepik from www.flaticon.com10

Challenge 1/4Simple, easy to use centralized distribution solutionBenefits: One centralized server solution to hostand share all web apps Meets corporate IT policies Author role provides self-serve tool toupload and manage the web apps11

Challenge 2/4Mechanism to secure and control access to applicationsBenefits: Integrate with your existingauthentication servers (LDAP, OIDC) Allows to assign roles– Author can upload, delete and run theapps– User can run the apps12

Challenge 2/4 (continued)Mechanism to secure and control access to applicationsBenefits: Starting in R2021a, apply app levelpolicies to access control individualapp Organize and group apps into folderper team Configure user access per folder orindividual app Users can only see and run thespecific authorized apps13

Challenge 3/4Manage and provide access to MATLAB Runtime librariesBenefits: App developers using multiple versions ofMATLAB and Simulink supported with singleserver Easy migration of apps after an upgrade Apps developed in 5 prior versions of MATLAB– Starting from R2019b14

Challenge 4/4Simple process to deploy new application featuresBenefits: Authoring environment allows you to developand deploy No additional manual steps required topackage the app data and dependent files15

Share Simulink simulationsMATLAB WebApp Server supports SimulinkBenefits: End users do not require a Simulink license End users can use a web app to choose tunableparameters and run the simulation from a browser– A long-standingrequest fromour SimulinkCustomers!MATLAB Apps that call sim() can be deployed as web appsSimulink Compiler can generate a “Starter” app to getyou started16

Flexible license modelDesigned to support both user and business needsBenefits: End user do not need MATLAB or Simulinklicense License model does not count number of appsdeployed or users accessing the apps Full control to IT administrators to add usersper need17

Icons made by Freepik from www.flaticon.com18

Recall our common challenges when sharing apps and toolsJohn, I heard aboutthis app, I have amac, how do I runit?I received this coolapp from Sarah,don’t know what todo, let me call Johnin ITWhere do Iget MATLAB?I developed thiscool app, Jim willbenefit from thisapp, let me shareI wish there is anSaraheasy way todistribute theseapps to others!BethJimWhat is theeasiest way toget this workingfor Jim?Sarah, pleaseexplain thisapplicationCan I just get alink to run theseapps?John, ITWill.now, I need tofigure out how toget this runningfor Beth?What licenses doI need to get?19

MATLAB Web App Server helps you enable sharing workflowsMATLABApp serMATLAB Web App ServerMATLABRuntimeJohn, ITIT SystemAdministratorWillJimBethEnd User(Scientist, Engineer)20

Icons made by Freepik from www.flaticon.com21

Learn more about MATLAB Web AppsSearch: MATLAB Web Apps22

Application Specific TrainingGet up to speed quickly with professional, focused courses MATLAB Fundamentals (link) MATLAB Programming Techniques (link) Building Interactive Applications in MATLAB (link) Object-Oriented Programming with MATLAB (link) Advanced MATLAB Application Development– New course, contact us for scheduling detailsMathWorks Training23

Thank you 2021 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarksfor a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.24

Leveraged MATLAB Web Apps as a browser-based interactive tool to run simulations.exe MATLAB Web Apps MATLAB Web Apps Use Case: Generate simulations for neuroscientists to examine the relationship of acute, repeated and chronic exposure to Nicotine Neuroscientist MATLAB Web App MATLAB Compiler Server Cloud: MATLAB Web App Server Neuroscientist .