1
我在Matlab中創建了一個獨立的應用程序,實際上它工作正常,它顯示所需的輸出,但它立即關閉,甚至沒有足夠的時間來檢查輸出並在DOS(獨立模式)中讀取錯誤消息:爲什麼Matlab獨立應用程序退出時出現錯誤「TooManyOutputs」?
MATLAB:TooManyOutputs
Warning: 1 visible figure(s) exist at MCR Termination
If your application has terminated unexpectedly, please note that
applications generated by the MATLAB Compiler terminate when there are no
visible figure windows. See the documentation for WaitForFiguresToDie and
WAITFORCALLBACKS for more information.
任何幫助,將不勝感激。
感謝您的響應,所以我想這會導致錯誤[Ⅺ,苡] = getpts1(得到(P1, '父'));但我沒有在matlab命令窗口中得到相同的錯誤,它工作得很好。怎麼能固定:d – emsxii 2012-02-20 14:07:09
'getpts1'似乎並沒有成爲一個標準功能,所以我不能幫助那裏。如果你的意思是'getpts',這可能*不是*你的問題,因爲該函數返回兩個值。 – 2012-02-20 14:22:20
我改成了'getpts',它不會引起麻煩,但它仍然工作正常,但仍然得到了同樣的錯誤,這個什麼'[Y,X,Z] =大小(newimg);'可以在此給出的bug ? – emsxii 2012-02-20 14:43:50