Network— Source for trained recurrent neural network Network from MAT-file(default) |来自MATLAB功能的网络
指定source for the trained recurrent neural network. The trained network must have at least one recurrent layer (for example, an LSTM network). Select one of the following:
Network from MAT-file— Import a trained recurrent neural network from a MAT-file containing aSeriesNetwork,DAGNetwork, ordlnetwork目的。
来自MATLAB功能的网络— Import a pretrained recurrent neural network from a MATLAB function.
Programmatic Use
Block Parameter:Network
Type:character vector, string
Values:'Network from MAT-file'|'Network from MATLAB function'
TheSample timeparameter specifies when the block computes a new output value during simulation. For details, seeSpecify Sample Time(Simulink).
指定Sample timeparameter as a scalar when you do not want the output to have a time offset. To add a time offset to the output, specify theSample timeparameter as a1-经过-2vector where the first element is the sampling period and the second element is the offset.
By default, theSample timeparameter value is-1to inherit the value.
Programmatic Use
Block Parameter:SampleTime
Type:character vector
Values:scalar | vector
Default:'-1'
Classification— Output predicted label with highest score 在(default) |off
Enable output portypred输出最高分的标签。
Programmatic Use
Block Parameter:Classification
Type:character vector, string
Values:'off'|'on'
Default:'on'
Predictions— Output all scores and associated labels off(default) |在
启用输出端口分数和labelsthat output all predicted scores and associated class labels.
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.