Initialisation of array or matrix in embedded matlab function block

조회 수: 1 (최근 30일)
Pratap Bhanu Solanki
Pratap Bhanu Solanki 2011년 9월 26일
Hello all, I want to store the data of my simulation into a matrix so that I can later use it.All this i am doing in embedded matlab function block. Can any one tell me how to initialize the array or matrix in the embedded function which can be updated in each iteration of simulation. Any other solution to my problem will also be appreciated.
  댓글 수: 1
Fangjun Jiang
Fangjun Jiang 2011년 9월 26일
Any particular reason that you have to do it using embedded matlab function? To store data, it's easy to use To Workspace block or To File block.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by