farsounder / protobuf-matlab

Automatically exported from code.google.com/p/protobuf-matlab
Other
26 stars 12 forks source link

pb_run_test.m fails #14

Open A-Mendi opened 6 years ago

A-Mendi commented 6 years ago

Reproduction steps:

  1. Build according to ReadMe

  2. Run MATLAB

  3. Switch to the protobuf-matlab/test directory. % cd /protobuf-matlab/test

  4. Compile test.proto % protoc --matlab_out=./ test.proto

  5. In MATLAB, Run the test.

    >>pb_run_test
    Undefined function 'pb_read_test_import__ImportMessage' for input arguments of type 'double'.
    
    Error in pb_run_test (line 62)
    msg = pblib_set(msg, 'optional_import_message', pb_read_test_import__ImportMessage([]));

When generating the --matlab_out wrappers via protoc, it does not generate "pb_read_test_import__ImportMessage.m file". It is also not present in the protobuf-matlab/protobuflib. Where is this file coming from? And why is it in the pb_run_tests?

Environment information: