Why want the code generation examples open?

7 views (last 30 days)
openExample('simulinkcoder/GettingStartedSimulinkCoderExample')
Undefined function or variable 'openExample'.
What is the issue here, are these examples no longer supported?
I have R2015b and the example was from a much earlier Matlab, I tried other methods to open it and none worked, I also did not see it under the demos help functions.

Accepted Answer

Steven Lord
Steven Lord on 31 Mar 2016
It looks like the openExample function was introduced in release R2016a. My guess is that you're using an older release but referring to the online documentation, or to some instructions that were written for use with release R2016a. If that is the case, find the corresponding version of the page in the documentation that was installed on your machine for the commands that will work in your installation or contact the author of those instructions for the corresponding instructions for the release you have installed.

More Answers (2)

james romero
james romero on 19 Oct 2018
Edited: Walter Roberson on 19 Oct 2018
I HAVE R2018b AND I CAN NOT USE THE PDE TOOL
I NEED TO MAKE TESTS OF AN ANTENNA RADIATION OF MAGNETIC FIELD
HELP
I ONLY HAVE 27 DAYS ALREADY WITH THE TRIAL VERSION INSTALLED IN MY LAPTOP
  1 Comment
Walter Roberson
Walter Roberson on 19 Oct 2018
pdetool is part of the Partial Differential Equations toolbox. That toolbox might possibly not have been part of the trial that you requested. It looks to me as if it is probably not part of any of the 6 instant trial packages, so you would probably have to request it specifically from Mathworks Sales.

Sign in to comment.


james romero
james romero on 19 Oct 2018
I can request the pde tool

Community Treasure Hunt

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

Start Hunting!