User onupdate callback error: no potential outputs found

  • 11 Views
  • Last Post 21 January 2019
ThinkHai posted this 17 January 2019

I am working on integrating a Matlab script into Workbench using ACT. I first generate an executable file using Matlab and then using ACT to integrate it into Workbench. Everything goes well except some design points cannot be updated correctly. The error Message is "User onupdate callback error: no potential outputs found".

Would somebody helps me to find out what this error message mean?

Order By: Standard | Newest | Votes
rwoolhou posted this 18 January 2019

Can you check the design point is physically meaningful? Ie whatever is being modelled can exist (layers have a finite thickness for example). 

ThinkHai posted this 21 January 2019

Thank you for your reply!

The Matlab script is a very easy one and I think it will always be meaningful. The script and project schematic are shown below:

 

Matlab Script:

   function [x,y] = test(a,b)

   x = a+b;

   y = b*a;

   end

 

Close