There are a lot of ways of sharing your ideas with MATLAB these days. Including
Today I want to remind you of some tools in MATLAB that can facilitate the transition to code you want to deploy via the MATLAB Compiler and SDK.
Here's a list of the functions I find most useful to aid in deployment.
Do you have other functions that ease your transition to deploying your app? Let me know here.
Get the MATLAB code
Published with MATLAB® R2017b
Comments are closed.
5 CommentsOldest to Newest
tempname (like tempdir)
onCleanup/delete to remove any temp files.
datetime(‘now’) useful for knowing when something happened.
It would be very useful to have an equivalent of isdeployed for apps and toolboxes to determine if code is being run from within a packaged app/toolbox or not. We often have cases where we only want to execute certain code when running as an app rather than when running from a developers sandbox. In the absence of such a function we have created our own but it should be something out of the box really.
nice list! a few other useful functions for deployment: ispc / isunix / ismac, getenv / setenv, pwd, version, usejava, groot
Just some commands that I also use :
get(0,’monitorposition’) can be used to be sure that the end-user has 2 monitors if it is required by the deployed app.
ispc, isunix … may be also helpful
Nice additions, everyone. @dbarry1, can I please ask you to create an enhancement report via technical support for your use case. Developers definitely look over user requests when they are in the planning part of the their cycle. Thanks!