convert a matrix(double) into structure
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everybody, I have done a simultion model regarding load frequency control.In that, i have transfer the output data from model to workspace by using 'to workspace' block in the format of array. Then i have to convert the array to structure with time data, then i will use 'from workspace' block to get those data to actuate another model. for ex. workspace data-->194*1 (double)..To be convert into structure with time data.
thanks in advance
댓글 수: 0
답변 (1개)
Wayne King
2011년 10월 11일
Hi, Just in case... Do you have the DSP System Toolbox (Signal Processing Blockset)?
You can use the Signal to Workspace block to directly write a structure with time data.
Also, using the To Workspace block, you can use the Save Format parameter to specify that you want to output a structure with time.
Is this what you're asking?
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!