How to pass a string dialog (masked) parameter to TLC file for a Level-2 MATLAB S-function?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Soham Sinha
am 6 Dez. 2021
Beantwortet: Andy Bartlett
am 7 Dez. 2021
I have a Level-2 MATLAB S-function block. I have created masked dialog parameters named param1. I want to pass it to the corresponding TLC file. However, I get the following error:
Unable to map dialog parameter 1 of S-function 'my_sfunction' in 'MyOwnModel' to a run-time parameter. This parameter is an unsupported variable class such as a character vector, string, structure, cell, or an unsupported data type
param is a string parameter. I want to pass it to a TLC file. How to do that?
0 Kommentare
Akzeptierte Antwort
Andy Bartlett
am 7 Dez. 2021
See this doc page.
and in this example
edit('adapt_lms.m');
search for "WriteRTW"
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Block and Blockset Authoring finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!