Forum

Notifications
Clear all

Prune Channels - mlActMan

8 Posts
3 Users
0 Likes
857 Views
Posts: 15
Topic starter
(@le_rah)
Active Member
Joined: 2 years ago

Dear Community,

when trying to use the hmrR_PruneChannels function (without GUI) I get the following error Message:

Brace indexing is not supported for variables of this type.
Error in hmrR_PruneChannels (line 65)
if isempty(mlActMan{iBlk}) 

 

This is I believe because I defined mlActMan wrong? Sadly in the Wiki and the help section explanation to mlActMan is always left blank. When I do not define mlActMan at all (not surprisingly) this error message occures: 

Unrecognized function or variable 'mlActMan'

Since MeasList needed to be defined in Homer2 too, I am guessing this is still the case in Homer3.. While I found some Forum entry from the google forum ( https://groups.google.com/g/homer-fnirs/c/05YvW0bezKk/m/p17SAOkBAgAJ) and tried to delete all .m files this didn't work for me. So maybe you can help me on how I get the measurement list information in the mlActMan variable so the function works? 

All the best

 

7 Replies
Posts: 285
(@dboas)
Joined: 3 years ago

which version of Homer3 are you using?

I believe we fixed this in the development branch on github. We are preparing to make a new release that will have this fix. But in the mean time you can try to grab the development branch.

Reply
1 Reply
(@le_rah)
Joined: 2 years ago

Active Member
Posts: 15

@dboas I use the Homer3 Version 1.31.2. When trying to install the 1.31.4 Version from the developement branch I keep getting told that Utilis and Data Tree can not be found, so I installed them separately and wanted to add their location, but this didn't work either. Can I maybe just use the bugfixed code part without downloading the development version?

And when you say you fixed it does it mean I can then define mlActMan and it works or is this Variable stored somewhere and I don't need to define it?

All the best

Reply
Posts: 285
(@dboas)
Joined: 3 years ago

Yeah, the development version is unstable. We should have a stable release in a week. And then from that point on we will maintain each stable release with small bug fixes and only use the development version for implementing new features.

This new issue you are facing is a new feature we finally implemented the other week that allows us to run Homer and AtlasViewer at the same time. But its implementation has some bugs.

I will talk with Jay Dubb and Stephen Tucker about these issues and get back to you later this week.

Reply
1 Reply
(@le_rah)
Joined: 2 years ago

Active Member
Posts: 15

Hey @dboas

also with the latest update by Homer3 I am able to define the mlActMan, but still have the following errormessage when trying the execute the  hmrR_PruneChannels function with the defined mlActMan

"Brace indexing is not supported for variables of this type.
Error in hmrR_PruneChannels (line 65)
if isempty(mlActMan{iBlk})"

I am not sure if I am doing something wrong, maybe you could help? 

All the best

Reply
Posts: 285
(@dboas)
Joined: 3 years ago

@sstucker , can you take a look at this?

Reply
Posts: 52
(@sstucker)
Joined: 3 years ago

Will investigate this and get back to you here.

Reply
1 Reply
(@le_rah)
Joined: 2 years ago

Active Member
Posts: 15

Hey @sstucker

I am not sure if you changed something but I tried again to define it as cell array and this time it worked.

Thanks and all the best

Reply
Share:
en_USEnglish