필터 지우기
필터 지우기

I am having trouble trying to take input to a user defined MATLAB function block from the output of three phase current measurement block in simulink.

조회 수: 2 (최근 30일)
I am using a User defined Matlab Function block and taking input from a Three phase current measurement block. I want the input data in an array form of three phase currents. How do I take such an input? Simply connecting the output from three phase current measurement block to the input of the function block is not working as the input only receives the first row of the total matrix of currents. Do I need to add some code to read the data differently? I can see the three phase currents in the scope and I can also import them into the workspace in any desired format but can't seem to figure out how to directly read them into my matlab function block.
  댓글 수: 2
TAB
TAB 2018년 6월 4일
So as I understood, your current output is in matrix format (mxn) and you want to read first row in Matlab function block.
Is this correct ?
Nirmit Regmi
Nirmit Regmi 2018년 6월 4일
I dont know in what format the current output from the three phase current measurement block is. All I know is that I can export it to workspace using simout in many formats(time series, structure, array, etc). I want to read this directly in the matlab function block without exporting into workspace.

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

답변 (1개)

Birhan Gezahegn
Birhan Gezahegn 2021년 9월 17일
it is too long! i have idea on this issue if u need some information

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by