Where can I find the helper functions in the MATLAB Documentation page for some functionalities ?
30 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2021-2-8
编辑: MathWorks Support Team
2021-4-29
While running following example provided online in the MATLAB documentation, I cannot find the helper functions used in the main .m file.
采纳的回答
MathWorks Support Team
2021-4-30
编辑:MathWorks Support Team
2021-4-29
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!