I am trying to create MIL automation script using Signal Editor facing below issue.

조회 수: 5 (최근 30일)
Nikhil
Nikhil 2023년 7월 31일
답변: Tejas 2024년 9월 26일
1.How to access signal editor block properties using m script in MATLAB ?
2.How to import input .mat and .xlsx file and access for test manager using mscript for Signal Editor ?

답변 (1개)

Tejas
Tejas 2024년 9월 26일
Hello Nikhil,
To create a MIL automation script according to the specified requirements, follow these steps:
blockPath = [modelName '/Signal Editor'];
newSignalDataFile = 'new_signal_file.mat';
set_param(blockPath, 'Filename', newSignalDataFile);
load("fileName.mat");
T = readtable('sample_data.xlsx','ReadRowNames',true);

카테고리

Help CenterFile Exchange에서 Results, Reporting, and Test File Management에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by