while using of two functions, MATLAB hangs
古いコメントを表示
i use these 2 codes:
i use these functions together, inside another function( that it's name is comp.m) but after running main m-file when arrive to comp.m, first do some commands then arrive to waitinput.m, until here there is no problem, but after arrive to cprint.m, matlab hangs.in other words under cases happen:
1-main m-file runs
2-arrive the line that comp.m function there is and goes inside comp.m
3-in comp.m arrives to waitinput.m without problem then:
4-in comp.m arrives to waitinput.m and matlab hangs
what's problem?
1 件のコメント
Paulo Silva
2011 年 9 月 1 日
how can we tell you what's the problem if you are using functions not included on MATLAB that might contain bugs and you don't show your code so we can test it? ok maybe Walter might have another lucky guess ;)
回答 (1 件)
Walter Roberson
2011 年 9 月 2 日
Yair's documentation for cprintf() says specifically,
Warning:
This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 7+, but use at your own risk!
Around here, we have an expression: "If you play around with fire, you'll get burned."
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!