I was looking for the code for the sample appdMemoryMonitorExample and could not find it

Answers (1)

openExample('matlab/AppdMemoryMonitorExample')
at matlab command prompt.

4 Comments

when I tried that I get the following error:
Error using findExample (line 35)
Example "AppdMemoryMonitorExample" not found in "C:\Apps\MATLAB\R2018a\examples\matlab\examples.xml".
Error in setupExample (line 5)
metadata = findExample(arg);
Error in openExample (line 10)
[workDir,metadata] = setupExample(varargin{:});
I don't know in which version the example was included, but clearly it was after R2018a.
The example is not available in your version. If you've seen mention of the example in the documentation, then read the documentation that applies to your version.
this seemed like a good example. can I get the file somewhere else?
It appears to have been added as of R2019a.
R2018b had Wind Speed App That Uses Timer Object in App Designer https://www.mathworks.com/help/releases/R2018b/matlab/creating_guis/wind-speed-gui-in-app-designer.html openExample('matlab/AppdWindSpeedExample') but that does not appear to have existed in R2018a.

Sign in to comment.

Categories

Tags

Asked:

on 23 Oct 2019

Commented:

on 24 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!