|
|
 |
| found 14 articles for 0.303 sec |
  |
Group: comp.softsys.matlab · Group Profile · Search for Ticket2 in comp.softsys.matlab
Author: Walter Roberson
Date: Jan 31, 2008 16:39
In article <b2c8dc5f-5d89-4483-934b-bfadd03078c1@v4g2000hsf.googlegroups.com>, shapper <mdmoura@gmail.com> wrote: I have the following: ticket1 = struct('id', {1}, 'name', {'John'}); ticket1 = struct('id', {2}, 'name', {'Mary'}); You likely meant ticket2 for that second line. log = struct('active', {ticket}, 'history', {ticket}); Presumably ticket has been defined. log.active
|
| Show full article (1.18Kb) · Show article thread |
|
| shapper <mdmoura@gmail.com> wrote in message <b2c8dc5f-5d89-
4483-934b-bfadd03078c1@v4g2000hsf.googlegroups.com>...
> Hello,
>
> I have the following:
>
> ticket1 = struct('id', {1}, 'name', {'John'});
> ticket1 = struct('id', {2}, 'name', {'Mary'});
>
> log = struct('active', {ticket}, 'history', {ticket});
>
> log.active(end+1) = ticket1;
> log.active(end+1) = ticket2;
>
> I want |
|
 |
|
 |
Group: comp.softsys.matlab · Group Profile · Search for Ticket2 in comp.softsys.matlab
Author: shapper
Date: Jan 31, 2008 15:50
On Jan 31, 5:38 pm, shapper <mdmo...@gmail.com> wrote: Hello, I have the following: ticket1 = struct('id', {1}, 'name', {'John'}); ticket1 = struct('id', {2}, 'name', {'Mary'}); log = struct('active', {ticket}, 'history', {ticket}); log.active(end+1) = ticket1; log.active(end+1) = ticket2; I want to select a row given an id: getab = log.active(log.active.id
|
| Show full article (2.13Kb) · Show article thread |
| Hello,
I have the following:
ticket1 = struct('id', {1}, 'name', {'John'});
ticket1 = struct('id', {2}, 'name', {'Mary'});
log = struct('active', {ticket}, 'history', {ticket});
log.active(end+1) = ticket1;
log.active(end+1) = ticket2;
I want to select a row given an id:
getab = log.active(log.active.id == 1);
This seems right but I get an error:
??? Error using ==> eq
Too |
|
 |
|
 |
Group: comp.softsys.matlab · Group Profile · Search for Ticket2 in comp.softsys.matlab
Author: Walter Roberson
Date: Jan 31, 2008 15:02
HappyEngineer <google.com1@g42.org> wrote in news:1182725087.131935.287450@i13g2000prf.googlegroups.com: I have ticket objects which have isEquivalent=true. That means that your inventory might say that you are holding three tickets. How do I add a description so that "x tickets" works properly. If I add "*tickets" to the keywords for the Ticket class, I found that everything
|
| Show full article (1.16Kb) · Show article thread |
|
 |
|
1 ·
2 ·
next |
|
|