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

3 vues (au cours des 30 derniers jours)
Nikhil
Nikhil le 31 Juil 2023
Réponse apportée : Tejas le 26 Sep 2024
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 ?

Réponses (1)

Tejas
Tejas le 26 Sep 2024
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);

Catégories

En savoir plus sur Results, Reporting, and Test File Management dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by