How to set block Signal From Workspace

Can I use this block to generate variable signals during simulation of neural network? And how to set it?
Let say, I need variable number of one column vectors entering my neural network (different in each simulation, so I cannot use blocks of Constants and switch between them). Column vectors are defined in workspace.

Answers (1)

You need to create matrices such that the first column is the time vector associated with each sample, and the second column if your data vector. Also look at the documentation page for From Workspace for more information on supported data formats.

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products

Asked:

on 15 May 2012

Community Treasure Hunt

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

Start Hunting!