【文件属性】:
文件名称:patch for Octave 4.0.0 机器学习课程补丁
文件大小:8KB
文件格式:ZIP
更新时间:2018-11-01 09:07:56
patch Octave submit peer certificate
machine learning课程用Octave 4.0.0提交作业时遇到错误,需要打此补丁。
When you run the submit script, if you are seeing error messages that contain any of these phrases...
urlread, curl, urlreadwrite, peer certificate, CA certificate, unsupported protocol, JSONparser
...here are some issues you can check.
Are you using Octave 4.0.0? You will need to install this . Follow the instructions in the readme.txt file. Restart Octave after installing the patch. There is a bug in the printf() function, it will be fixed in Octave 4.0.1. The error "JSONparser:invalidFormat: Outer level structure must be an object or an array" error is caused by this bug.
Post-installation test: cd to the 'lib' folder, enter this command: "makeValidFieldName('2')". If "ans = x0x32_", the patch was successful.
Are you getting an error about "peer certificates"? You will need to install (this) patch if you are using Windows, or (this) this patch if you are using a linux-based operating system (including MacOS). Follow the instructions in the readme.txt file. Restart Octave after installing the patch.
【文件预览】:
lib
----submitWithConfiguration.m(4KB)
----makeValidFieldName.m(1KB)
----xxNumToHexStr.m(624B)
----jsonlab()
--------loadjson.m(18KB)