Matlab脚本重命名信号名称

时间:2018-09-11 18:15:55

标签: matlab simulink

我有simulink块,它具有成千上万个输入信号,例如包含文本TRXA

AIM1_Freshness_TRXA_FCC,
AIM2_Freshness_TRXA_FCC 

我需要创建模型的精确副本,只是将TRXA更改为TRXB

AIM1_Freshness_TRXB_FCC ,
 AIM2_Freshness_TRXB_FCC

任何简单的脚本或matlab脚本即可

1 个答案:

答案 0 :(得分:2)

以下帮助吗?

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# subdomains restriction -> https www.domain
RewriteCond %{HTTP_HOST} !^(www\.)?[^.]+\.[^.]+$ [NC]
RewriteCond %{HTTP_HOST} ^.+\.([^.]+\.[^.]+)$
RewriteRule ^ https://www.%1%{REQUEST_URI} [NE,L,R=301]

# http -> https www.domain
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [NE,L,R=301]
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [NE,L,R=301]

</IfModule>