Community Profile

photo

Owen Zhang


Last seen: environ 3 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

A répondu
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'...

presque 5 ans il y a | 1

| A accepté

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'); ...

presque 5 ans il y a | 1 réponse | 0

1

réponse

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...

presque 5 ans il y a | 1 réponse | 0

1

réponse

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

environ 5 ans il y a | 0

| A accepté

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...

environ 5 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

plus de 5 ans il y a | 1

| A accepté

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...

plus de 5 ans il y a | 2 réponses | 0

2

réponses