sltest.harness.create function input ‘source’ can’t be set ‘Signal Builder’ in parameter pairs in matlab 2022b
sltest.harness.create(‘Harness_Test’,’Source’,’Signal editor’,’Sink’,’Outport’);
error:
Expected input to match one of these values:
‘Inport’, ‘Signal Editor’, ‘From Workspace’, ‘From File’, ‘Test Sequence’, ‘Chart’, ‘Constant’, ‘Ground’, ‘None’, ‘Custom’
The input, ‘Signal Builder’, did not match any of the valid values.
This means I can’t assign ‘Signal Builder’ to ‘Source’, matlab version is 2022b, but there is no error in 2022a(Tested many times).
Is this issue related to matlab version and how to solve it? Still need to use ‘Signal Builder’.sltest.harness.create(‘Harness_Test’,’Source’,’Signal editor’,’Sink’,’Outport’);
error:
Expected input to match one of these values:
‘Inport’, ‘Signal Editor’, ‘From Workspace’, ‘From File’, ‘Test Sequence’, ‘Chart’, ‘Constant’, ‘Ground’, ‘None’, ‘Custom’
The input, ‘Signal Builder’, did not match any of the valid values.
This means I can’t assign ‘Signal Builder’ to ‘Source’, matlab version is 2022b, but there is no error in 2022a(Tested many times).
Is this issue related to matlab version and how to solve it? Still need to use ‘Signal Builder’. sltest.harness.create(‘Harness_Test’,’Source’,’Signal editor’,’Sink’,’Outport’);
error:
Expected input to match one of these values:
‘Inport’, ‘Signal Editor’, ‘From Workspace’, ‘From File’, ‘Test Sequence’, ‘Chart’, ‘Constant’, ‘Ground’, ‘None’, ‘Custom’
The input, ‘Signal Builder’, did not match any of the valid values.
This means I can’t assign ‘Signal Builder’ to ‘Source’, matlab version is 2022b, but there is no error in 2022a(Tested many times).
Is this issue related to matlab version and how to solve it? Still need to use ‘Signal Builder’. sltest.harness.create MATLAB Answers — New Questions