Read data from text file without Metadata in .mdl file

조회 수: 1 (최근 30일)
Sultan
Sultan 2017년 6월 12일
I have saved some information of the blocks in .mdl file as 'MetaData'. I save this via
set_param('mymodel','Metadata',{data});
This Metadata is easily read via
Simulink.MDLInfo.getMetadata('mymodel')
Now I want to read the data from the text file using 'fscanf' but the problem is this command also reads the Metadata that I have already saved. Is there any way I can use 'fscanf' and reads the text file without 'Metadata'?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by