Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After adding custom property to grainSet, Matlab gives an error when attempting to display the variable in command line #2137

Closed
zmichels opened this issue May 10, 2024 · 2 comments

Comments

@zmichels
Copy link

What do you want to do?
append a grainSet with properties containing computed results

Error Message
If you get an error message copy and paste it below

Dot indexing is not supported for variables of this type.

Error in vector3d/cat (line 26)
    vx{i} = vs.x;

Error in vector3d/horzcat (line 4)
v = cat(2,varargin{:});

Error in dynProp/char (line 177)
          d = [d,value]; %#ok<AGROW>

Error in grain2d/display (line 71)
disp(char(dynProp(grains.prop),...

What MTEX version do you use?
5.11.2

@ralfHielscher
Copy link
Member

Could you please add the code you are using?

Ralf.

@ralfHielscher
Copy link
Member

Hi Zach, I assume the issue occurred because your additional property was of type vector3d. I think I have fixed this issue now.

Ralf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants