Skip to content

Commit

Permalink
fix matlab print issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravey committed Oct 25, 2024
1 parent 38170c3 commit 3725ea8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include_interfaces/matlab_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ std::atomic<bool> _done=false;
}

void eraseAndPrint(std::string val){
printf("%s\n",val.c_str());
mxArray *arg[1];
arg[0]=mxCreateString(val.c_str());
mexCallMATLAB(0,NULL,1,arg,"disp");
}

std::any convert2NativeMatrix(g2s::DataImage &image){
Expand Down

0 comments on commit 3725ea8

Please sign in to comment.