Search found 15 matches

by fam
Mon Apr 19, 2021 12:03 pm
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6159

Re: edit openMHA code and get private variables

Thank you so much for your help.
Now I can edit and compile the code. :)
by fam
Fri Apr 16, 2021 6:59 pm
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6159

Re: edit openMHA code and get private variables

Thank you again for your reply.
For the first possibility, I have to write a test_code to call the desired function and monitor the variable. I didn't find any available test_code, and recompile the code. Is there any step-by-step guide file for compiling the openMHA package?
by fam
Fri Apr 16, 2021 8:34 am
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6159

Re: edit openMHA code and get private variables

Thank you for your clarification.
So is there a way, not necessarily from MATLAB, to access all the C++ variables?
by fam
Thu Apr 15, 2021 10:26 am
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6159

Re: edit openMHA code and get private variables

Thank you for your reply.

I am using the adaptive differential microphone array, 'adm'. In this case, e.g. there is a private variable named, "m_beta" which is updated for every frame of data. How can I access the value of this variable during the run time?
by fam
Wed Apr 14, 2021 11:12 am
Forum: Connect openMHA to Matlab
Topic: edit openMHA code and get private variables
Replies: 8
Views: 6159

edit openMHA code and get private variables

Thank you for the package, it is great. I can connect openMHA to MATLAB and run the desired plugin on my data. The problem is that I want to monitor the openMHA variables during runtime. The "mha_get(mha,'');" just return the value that had been set in the .cfg file. Would you please help ...