1.问题产生
在处理Coursera course - Algorithms for Battery Management System - Part 3 - Battery State of Charge Estimation - Week 7 - Capstone 2 - Tuning SPKF时,内嵌函数在jupyter notebook的octave环境下运行无报错,在octave GUI运行时报错nested functions not implemented in this context
代码:SOCbySPKF-CapstoneProjectPart2.m
2.内嵌函数
octave官方的解释:Nested Functions
例子:
function y = foo ()
x = 10