有人知道一个简单的方法:
info: Starting app...
warn: [Function]
error: Invalid view engine (jsx)-- are you sure it supports `consolidate`?
error: Your configured server-side view engine (jsx) could not be found.
error: Usually, this just means you need to install a dependency.
error: To install jsx, run: `npm install jsx --save`
error: Otherwise, please change your `engine` configuration in config/views.js.
/Users/henry/Documents/dev/node/project/server/node_modules/sails/lib/hooks/views/configure.js:75
throw e;
^
Error
问题在于
n=.....; %integer defined
[freq,cifreq]=binofit(x,n,0.01);
cifreq*n
不是被Matlab视为变量并存储在内存中,尽管它的值(1 * 2向量)显示在输出屏幕上。因此难以自动化某些计算,例如:
cifreq
脚本中的
由于