user3425901
user3425901

Reputation: 1

The function 'uigetfile' is not supported for standalone code generation

I am trying to convert matlab code into c++ code using matlab coder but I am getting this error:

The function 'uigetfile' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.

Is there any alternative for uigetfile?

Upvotes: 0

Views: 1003

Answers (1)

Alan
Alan

Reputation: 3417

I would suggest refactoring your code so that you select a file and such like in C++ (that is, code it yourself) then call the Matlab code with the file and such like as parameters.

Upvotes: 1

Related Questions