java与matlab混合编程

com.mathworks.toolbox.javabuilder.MWNumericArray cannot be cast to java.lang.Double

@RestController
public class WcController {
    @RequestMapping("/getWc")
    public double getWc() throws MWException {
        WcFunction wcFunction = new WcFunction();
        Object[] a=wcFunction.Wcsolution(1,400.00);
        double b= (double) a[0];
        return b;
    }
查看全部
wowowohehe
wowowohehe
2020/12/04 21:47
  • spring
  • java
  • 点赞
  • 收藏
  • 回答
    私信

0个回复