Community Profile

photo

Owen Zhang


Last seen: ongeveer 3 jaar ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
Weird error happens after suppress warnings in parfor workers
i worked it out, i don't know why pctRunOnAll warning('off', 'all'); is not working. but just simply add warning('off', 'all'...

bijna 5 jaar ago | 1

| accepted

Question


Weird error happens after suppress warnings in parfor workers
I searched online for how to suppress warnings in parfor workers, and i got the code like: pctRunOnAll warning('off', 'all'); ...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


How does the function contains behave ??
Today I'm fixing a bug, because of using contains() function. There is a condition check whether the input string is exactly in...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Answered
To convert a variable (struct with fields of numeric matrix) to a sliced variable (an array of struct)
closed see answer above

ongeveer 5 jaar ago | 0

| accepted

Question


To convert a variable (struct with fields of numeric matrix) to a sliced variable (an array of struct)
I was doing code refactor to apply parfor to some legacy code. Legacy code creates a big struct variable called 'Boot', with fie...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Answered
how to create an enumeration class of strings ??
i used the following approaches of using class constants. and to replace hardcoded from: if strcmp(somevar, 'PDOS') to if...

meer dan 5 jaar ago | 1

| accepted

Question


how to create an enumeration class of strings ??
Hi, I'd like to create some enumeration classes to replace the hard-coded string values. But I met the problem occurs in the a...

meer dan 5 jaar ago | 2 answers | 0

2

answers