Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个函数来进行一些图像处理并将处理后的图像写入文件。我不希望它返回任何东西。我总是可以返回一个可以忽略的虚拟变量,但我想保持我的代码干净。如何在 MATLAB 中实现这一点?
是的。
function [] = my_awesome_function(image,filename,other_inputs) % Do awesome things. end
不会返回任何东西。一个更简单的版本:
function my_awesome_function(image,filename,other_inputs) % Do awesome things. end
是等价的。
我得到了需要使用 preg match all 提取超链接标签内的值的 html 内容。我尝试了以下但我没有得到任何数据。我包含了一个示例输入数据。你们能帮我修复这段代码并在 play.asp?ID=(例如:我想从 play.asp?ID= 12345获取这个值12345)前面打印所有