How to check MATLAB version and choose compatible functions?
119 次查看(过去 30 天)
显示 更早的评论
sgtitle is available in MATLAB R2019b but not in R2018a
suptitle is available in MATLAB R2018a but not in R2019b.
If I'm distributing, how can I check the release to use the compatible function?
0 个评论
采纳的回答
更多回答(2 个)
Oli Fairfax
2021-8-23
You can also use the following to keep it on one line:
version('-release')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!