Test Manager: No block called ‘From1’ could be found.
Hello,
I’m working on a model and try to write test through Test Manager.
The model is updating without error => OK
When I run the test in Test Manager, I can see the following step in the Simulink test harness window:
…
Updating library link blocks: Completed
( It updates the 4 referenced model,)
Compiling: Refreshing bus cache: Completed
Compiling: Evaluating block parameters: Completed
Initializing
Ready
Then it stops, and in the Test Manager window, the following error appears:
Cause of Failure: Erros running test case
Invalid Simulink object name: Toto_Sequence_Harness/From1.
No block called ‘From1’ could be found.
As mentionned in another post, a space character can be the origin of the error. I look for ‘ From1’ (sapce before) and ‘From1 ‘ (space after) but Simulink didn’t find any.
In the model there are 1602 ‘From1’ (without space, it includes ‘From10’, ‘From11’…).
How can I have more precision regarding error location ?
How can this error can be solved ?
Thanks in advance,
ChristopheHello,
I’m working on a model and try to write test through Test Manager.
The model is updating without error => OK
When I run the test in Test Manager, I can see the following step in the Simulink test harness window:
…
Updating library link blocks: Completed
( It updates the 4 referenced model,)
Compiling: Refreshing bus cache: Completed
Compiling: Evaluating block parameters: Completed
Initializing
Ready
Then it stops, and in the Test Manager window, the following error appears:
Cause of Failure: Erros running test case
Invalid Simulink object name: Toto_Sequence_Harness/From1.
No block called ‘From1’ could be found.
As mentionned in another post, a space character can be the origin of the error. I look for ‘ From1’ (sapce before) and ‘From1 ‘ (space after) but Simulink didn’t find any.
In the model there are 1602 ‘From1’ (without space, it includes ‘From10’, ‘From11’…).
How can I have more precision regarding error location ?
How can this error can be solved ?
Thanks in advance,
Christophe Hello,
I’m working on a model and try to write test through Test Manager.
The model is updating without error => OK
When I run the test in Test Manager, I can see the following step in the Simulink test harness window:
…
Updating library link blocks: Completed
( It updates the 4 referenced model,)
Compiling: Refreshing bus cache: Completed
Compiling: Evaluating block parameters: Completed
Initializing
Ready
Then it stops, and in the Test Manager window, the following error appears:
Cause of Failure: Erros running test case
Invalid Simulink object name: Toto_Sequence_Harness/From1.
No block called ‘From1’ could be found.
As mentionned in another post, a space character can be the origin of the error. I look for ‘ From1’ (sapce before) and ‘From1 ‘ (space after) but Simulink didn’t find any.
In the model there are 1602 ‘From1’ (without space, it includes ‘From10’, ‘From11’…).
How can I have more precision regarding error location ?
How can this error can be solved ?
Thanks in advance,
Christophe no block called could be found, invalid simulink object name MATLAB Answers — New Questions