当前位置:网站首页>Wu Enda's machine learning programming operation cannot be suspended pause problem solved
Wu Enda's machine learning programming operation cannot be suspended pause problem solved
2022-07-25 17:53:00 【totobey】
Wu Enda's programming operation of machine learning needs to be suspended , Although the original code has pause , But I found that in fact octave(5.1.0) Runtime , Code cannot pause .
Programming job code :
fprintf('Program paused. Press enter to continue.\n');
pause;After searching , Some comrades proposed a solution
For specific links, see :https://www.zhihu.com/question/345595943/answer/825541870
specific working means :
Create a new file , Save as .m Format , Write the next code to :
function pause
while true
str = input('','s');
switch str
case '' % (return key)
break;
otherwise
end
end
endThen save the file to your homework directory :

边栏推荐
- Mock服务moco系列(二)- Json格式、File文件、Header、Cookie、解决中文乱码
- Is it safe to open a futures account online? How to apply for a low handling fee?
- Drawing PDF tables (I) drawing excel table styles in PDF and downloading them through iText (supporting Chinese fonts)
- 简述Synchronized以及锁升级
- 精彩记录
- Excel表格 / WPS表格中怎么在下拉滚动时让第一行标题固定住?
- I'm also drunk. Eureka delayed registration and this pit!
- Idea integrates common functions of SVN code management
- Cross validation (CV) learning notes
- STM32 PAJ7620U2手势识别模块(IIC通信)程序源码详解
猜你喜欢

实时云渲染有哪些优势

一篇文章了解超声波加湿器

An article about ultrasonic humidifier

Food safety | eight questions and eight answers take you to know crayfish again! This is the right way to eat!

为什么数字化未来取决于3D实时渲染

OSPF --- open shortest priority path protocol

云流化和云桌面有什么关系

绘制pdf表格 (二) 通过itext实现在pdf中绘制excel表格样式设置中文字体、水印、logo、页眉、页码

Nineteen year old summary

食品安全 | 八问八答带你重新认识小龙虾!这样吃才对!
随机推荐
Redis源码与设计剖析 -- 15.RDB持久化机制
C# Linq 去重&去重求和
Redis源码与设计剖析 -- 17.Redis事件处理
Mock服务moco系列(三)- 重定向、正则表达式、延迟、模板、事件、分模块设计
【硬件工程师】DC-DC隔离式开关电源模块为什么会用到变压器?
How to rectify the unqualified EMC of electronic products?
PageHelper can also be combined with lambda expressions to achieve concise paging encapsulation
Go defer and recover simple notes
食品安全 | 八问八答带你重新认识小龙虾!这样吃才对!
如何选择数字孪生可视化平台
OSPF---开放式最短优先路径协议
云流化和云桌面有什么关系
SLA 、SLO & SLI
SLA 、SLO & SLI
New and malloc
虚拟偶像代言产品出问题谁负责?
itextpdf实现多PDF文件合并为一个PDF文档
Take you to a preliminary understanding of multiparty secure computing (MPC)
WPF implements user avatar selector
Postman快速上手