-2

この MATLAB コードを c++ に変換したい

function [ c ] = main() 
%#codegen
coder.inline('never'); 

c = imread('focus.jpg');

しかし、それは私にこれを与えますerror : The function 'imread' is not supported for standalone code generation. See the documentation for coder.extrinsic ??!!

4

1 に答える 1