Filter löschen
Filter löschen

reading input from workspace in simulink

2 Ansichten (letzte 30 Tage)
Niveen Morsi
Niveen Morsi am 2 Mär. 2013
is there any work arround to read input data from workspace without using fromworkspace component in simulink so that i can read these data irrespective to define time column
thanks in advance

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 2 Mär. 2013
Bearbeitet: Azzi Abdelmalek am 2 Mär. 2013
You can use a constant block from simulink/sources
  7 Kommentare
Niveen Morsi
Niveen Morsi am 3 Mär. 2013
thanks alot Azzi..
but there is a problem on using embedded function block..
whenever i call other matlab functions like randint() or randi() i got an error that its not supported also if i used my own defined function...
any idea how to overcome this plzz..???
Azzi Abdelmalek
Azzi Abdelmalek am 3 Mär. 2013
Then use Interpreted Matlab function (Formerly called Matlab Function)

Melden Sie sich an, um zu kommentieren.


TAB
TAB am 4 Mär. 2013
Use a Constant block to import the complete matrix from workspace at once. Further use Demux or Index Vector to decompose the matrix into its elements.
No need to fetch the matrix elements one by one from workspace.

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by