필터 지우기
필터 지우기

how to sort an array of objects on more than one object parameter

조회 수: 2 (최근 30일)
tombola
tombola 2012년 3월 23일
Hi, if I have my class (created in matlab via classdef) containing say three parameters. 1. Sector 2. CalculationSuccess 3) CalculationValue
Is there an easy way I can sort an array of objects of this class on, say, Sector then the CalculationSuccess flag, then the ascending CalculationValue?
The only ways I can think of are long and complicated and in matlab that usually means you're doing something wrong :)
Tom.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by