Is the "timer" function deployable in Matlab 6.5 (Release 13)
2 ビュー (過去 30 日間)
古いコメントを表示
Yes that's right MatLab 6.5 is what I am still forced to use at work!
I have implement a timer that works perfectly within the Matlab 6.5 IDE but when I compile the program using the Visual C++ 6.0 compiler (Yes, that's also what I am forced to use!) I get the following error message when I run the executable: Undefined function or variable: 'timer'
I suspect that this function is not deployable for Matlab 6.5.
Does anyone know what the first Matlab version supports deployment of the "timer" function? What is the first Matlab version to support the function: uwait(handle, seconds)?
0 件のコメント
採用された回答
Jacob Halbrooks
2013 年 12 月 19 日
The TIMER function was not deployable in MATLAB 6.5 since it creates an object. In the Limitations and Restrictions section of the MATLAB Compiler doc in R13, you'll find "M-files that use objects".
MATLAB Compiler was re-architected in R14, where general language support was added, including functions that use objects. However, it appears that TIMER itself remained problematic as suggested in this bug report (and possibly others).
Note that upgrading to R14 or more recent would remove most restrictions on deploying with MATLAB Compiler. The re-architecture allowed this because it no longer translates MATLAB code to C code but instead wraps the MATLAB code with an interface and requires a runtime.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!