필터 지우기
필터 지우기

reading input from workspace in simulink

조회 수: 2 (최근 30일)
Niveen Morsi
Niveen Morsi 2013년 3월 2일
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

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 2일
편집: Azzi Abdelmalek 2013년 3월 2일
You can use a constant block from simulink/sources
  댓글 수: 7
Niveen Morsi
Niveen Morsi 2013년 3월 3일
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 2013년 3월 3일
Then use Interpreted Matlab function (Formerly called Matlab Function)

댓글을 달려면 로그인하십시오.


TAB
TAB 2013년 3월 4일
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.

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by