Matlab documentation webpage is not working properly

None of the 'Try it in Matlab' buttons on the webpage below is working correctly. I desparately need the sample code to try it in Matlab. How can I report this issue to whoever made this webpage and hope he/she may have the sample code or could load the code properly this time?
The link to the webpage is shown below:
:,(((
:'(((

 Accepted Answer

The code works for me, R2018a.
You need to copy the command from the window and paste it at the command line.

4 Comments

Agreed; the dialog box even states that immediately after the command to be executed in the MATLAB Command Window.
I did. But all I got is this. "Undefined function or variable 'setupExample'". Sigh...
I tried it on both windows and macbook. I'm using R2017a.
The online documentation is for the most recent release, currently release R2018a. It may use functions or features not present in older releases, and it seems setupExample is one such function. Navigate to the version of that page in the documentation included in your installation (which will be for the release you're using) and you will be able to read and copy the code on that page.
  • Open your documentation using the doc function.
  • On the page that appears, select "MATLAB".
  • Next select "App Building".
  • Now select "GUIDE or Programmatic Workflow".
  • The next link was renamed between release R2017a and R2018a. In R2018a it was "Programming Apps" while in R2017a it is "Coding App Behavior". Select that link.
  • Finally click on "Share Data Among Callbacks".
Hi Steven,
Your answer is spot on! Precise! Clear instructions that I could follow so easily. Now I understand that the problem was caused by different versions of Matlab that we use. Thank you very much!:))))))

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!