Clear Filters
Clear Filters

Neural Network Toolbox (Time Series) Simulink: Input Signal time step 0.01 but Output Signal time step 1

2 views (last 30 days)
Hey all,
I am using the GUI from Neural Network Toolbox, Time Series Tool and create a Neural Net with default settings and: -one hidden layer -one output layer -one neuron -two delays My Inputs are two signals with time step 0.01. I got a satisfying result (R=0.999) so I created a Simulink Diagram by using the button in the GUI.
Here's the problem: The Output (In Scope) has time step 1 instead of 0.01. I tried to change settings in the Simulink environment but I just get an error saying time step in the net block is 1. And the automatically generated neural network block is locked, so I can't change settings in it. Also when I use disp(net); in Matlab I get sampleTime: 1 How can I change this setting so it uses sample time 0.01 instead of 1?
This problem occurs only in Time Series Tool, using Fitting Function Tool exactly the same way as stated above I get the Output with sample time 0.01.
Thanks for any help!!
  2 Comments
Yan Jie Hong
Yan Jie Hong on 13 Mar 2020
I'm having the same problem right now as well. Although I have found out that what you actually want to change is sampling time, not sample time. As I changed that with net.sampleTime=0.01. But that just makes you sample up to 0.01s, not in 0.01 timesteps.
If you have already solved this problem then could you please tell how you did it? Thanks

Sign in to comment.

Answers (1)

Tianye Wang
Tianye Wang on 11 Oct 2020
Did you figure out how to solve this issue yet?

Categories

Find more on Deep Learning Toolbox 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!