GANTT Chart with ordering of jobs

6 ビュー (過去 30 日間)
Toon Van Heusden
Toon Van Heusden 2022 年 2 月 3 日
回答済み: Sai Teja G 2024 年 7 月 23 日
I have made an adaptive scheduler, such that 4 routes are available through the machines as M1/M2 -> M3/M4 -> M5, thus every job need to go through machine 5. Therefore, ordering is added to machine 5. Now I want to put the starting and end times of every job into a GANTT chart. Though the legend of the GANTT chart only letting me put all the jobs in chronological order such that:
Machine 1/2(depends on the route) - times job 1 - times job 2 - times job 3
Machine 3/4(depends on the route) - times job 1 - times job 2 - times job 3
Though in Machine 5, due to the ordering, it could occur that job 2/3 skips or does not wait for job 1:
Machine 5 - times job 2 - times job 3 - times job 1
Now the GANTT chart is making the Machine 5 - times job 2 the same color as the Machine 1/2 - times job 1. Anyone know how to give positions in a matrix the same color and legend?

回答 (1 件)

Sai Teja G
Sai Teja G 2024 年 7 月 23 日
Hi Tonn,
I understand that you are getting the Machine 5 – times job 2 the same color as the Machine 1/2 - times job 1.
To assign positions, change colors, or modify the legend for each job over time, regardless of the machine, I suggest utilizing a file exchange that offers the functionality you require. One such option is to use the "ganntChart(_, Name, Value)" function, which allows you to assign different colors to each job.
Here is the link to the MATLAB File Exchange:
Hope this resolves your query!

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by