Where can I find the helper functions in the MATLAB Documentation page for some functionalities ?
31 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Feb 2021
Edited: MathWorks Support Team
on 29 Apr 2021
While running following example provided online in the MATLAB documentation, I cannot find the helper functions used in the main .m file.
Accepted Answer
MathWorks Support Team
on 30 Apr 2021
Edited: MathWorks Support Team
on 29 Apr 2021
Many times helper functions are provided with the example unless they are built-in functions. The way to access the example is to click on 'View MATLAB command' button on this link https://www.mathworks.com/help/releases/R2020b/deeplearning/ug/sequence-to-sequence-regression-using-deep-learning.html as shown in the screenshot below.
Once you click on the 'View in MATLAB Command' button, a pop up opens up with the MATLAB command as shown below.
The next step is to copy this command and run it in the MATLAB command window. This opens the example and loads all the supporting files as shown in the screenshot below.
The functions mentioned in the example are present in files within the same folder as the example. They may be in one file or separate .m files present in the same folder. As we can see the current folder has three files.
1. processTurboFanDataTest.m
2. processTurboFanDataTrain.m
3. SequencetoSequenceRegressionUsingDeepLearningExample.mlx
Out of these, the 'SequencetoSequenceRegressionUsingDeepLearningExample.mlx' is the main file, and 1 and 2 are the helper files which contain the helper function, which decides on how to split the train and test data.
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!